Model: JahnaviKumar/nomic-embed-text1.5-ftcode
Author: JahnaviKumar
Pipeline: sentence-similarity
Library: sentence-transformers
Tags: sentence-transformers, safetensors, nomic_bert, sentence-similarity, feature-extraction, dense, generated_from_trainer, dataset_size:100, loss:MatryoshkaLoss, loss:MultipleNegativesRankingLoss, custom_code, arxiv:1908.10084, arxiv:2205.13147, arxiv:1705.00652, base_model:nomic-ai/nomic-embed-text-v1.5, base_model:finetune:nomic-ai/nomic-embed-text-v1.5, text-embeddings-inference, endpoints_compatible, region:us
Base models (finetune): id: nomic-ai/nomic-embed-text-v1.5
Card metadata: tags: sentence-transformers, sentence-similarity, feature-extraction, dense, generated_from_trainer, dataset_size:100, loss:MatryoshkaLoss, loss:MultipleNegativesRankingLoss
base_model: nomic-ai/nomic-embed-text-v1.5
widget: source_sentence: func SetFactory(ctx context.Context, f Factory) context.Context {
	return
sentences: rm -r path, Transforms an array into a DateTime.

@param array $value Array value.

@return DateTime DateTime value.,  context.WithValue(ctx, &clockKey, f)
}, source_sentence: public function hyvesTipUrl($title, $body, $categoryId = 12, $rating = 5) {

        $url = 'http://www.hyves-share.nl/button/tip/?tipcategoryid=%s&rating=%s&title=%s&body=%s';

sentences:  by a TLS client to
	// authenticate itself to the TLS server.
	template.ExtKeyUsage = append(template.ExtKeyUsage, x509.ExtKeyUsageClientAuth)

	t := time.Now().UnixNano()
	template.SerialNumber = pki.BuildPKISerial(t)

	certificate, err := pki.SignNewCertificate(privateKey, template, caCert.Certificate, caKey)
	if err != nil {
		return nil, fmt.Errorf("error signing certificate for master kubelet: %v", err)
	}

	caBytes, err := caCert.AsBytes()
	if err != nil {
		return nil, fmt.Errorf("failed to get certificate authority data: %s", err)
	}
	certBytes, err := certificate.AsBytes()
	if err != nil {
		return nil, fmt.Errorf("failed to get certificate data: %s", err)
	}
	keyBytes, err := privateKey.AsBytes()
	if err != nil {
		return nil, fmt.Errorf("failed to get private key data: %s", err)
	}

	content, err := b.BuildKubeConfig("kubelet", caBytes, certBytes, keyBytes)
	if err != nil {
		return nil, err
	}

	return &nodetasks.File{
		Path:     b.KubeletKubeConfig(),
		Contents: fi.NewStringResource(content),
		Type:     nodetasks.FileType_File,
		Mode:     s("600"),
	}, nil
}, Executes the current query and returns the response

@throws \Cassandra\Response\Exception
@return \Cassandra\Response,         $title = $title;
        $body = $body;
        return sprintf($url, $categoryId, $rating, $title, $body);
    }, source_sentence: public function get($key, $default = null, $dot_syntax = true)
    {
        if ($dot_syntax === true) {
            $paths = explode('.', $key);
            $node =& $this->_data;
            
            foreach ($paths as $path) {
                if (!is_array($node) || !isset($node[$path])) {
                    // error occurred
                    return $default;
                }
                $node =& $node[$path];
            }
            
            return $node;
            
        } else {
            
            return isset($this->_data[$key]) ? $this->_data[$key] : $default;
            
        }
    }
sentences: // PrintShortName turns a pkix.Name into a string of RDN tuples., Here is the code to create an array, add elements, sort in ascending order, and print the elements in reverse order in Java:

```java
import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        // Create an array
        int[] array = {5, 7, 3};

        // Sort the array in ascending order
        Arrays.sort(array);

        // Print the elements in reverse order
        for (int i = array.length - 1; i >= 0; i--) {
            System.out.println(array[i]);
        }
    }
}
```

Output:
```
7
5
3
```

In the code above, we import the `Arrays` class from the `java.util` package to use the `sort()` method for sorting the array. We create an integer array `array` with the given elements. The `Arrays.sort(array)` method sorts the array in ascending order. Finally, we loop through the array in reverse order starting from the last index (`array.length - 1`) and print each element using `System.out.println()`., Returns a single item from the collection data.

@param string $key
@return mixed, source_sentence: def iter(self, query, *parameters, **kwargs):
        """Returns a generator for records from the query."""
        cursor = self._cursor()
        try:
            self._execute(cursor, query, parameters or None, kwargs)
            if cursor.description:
                column_names = [column.name for column in cursor.description]
                while True:
                    record = cursor.fetchone()
                    if not record:
                        break
                    yield Row(zip(column_names, record))
            raise StopIteration

        except:
            cursor.close()
            raise
sentences: def exit(exit_code=0):
  r"""A function to support exiting from exit hooks.

  Could also be used to exit from the calling scripts in a thread safe manner.
  """
  core.processExitHooks()

  if state.isExitHooked and not hasattr(sys, 'exitfunc'): # The function is called from the exit hook
    sys.stderr.flush()
    sys.stdout.flush()
    os._exit(exit_code) #pylint: disable=W0212

  sys.exit(exit_code), Returns a generator for records from the query.,  """

        url = self.file['url']
        args = ['{0}={1}'.format(k, v) for k, v in kwargs.items()]

        if args:
            url += '?{0}'.format('&'.join(args))

        return url, source_sentence: What is the total CO2 emission from all aquaculture farms in the year 2021?
sentences:  && value.size == value.uniq.size
      else
        result
      end
    end, 
	return c.postJSON("joberror", args)
}, SELECT SUM(co2_emission) FROM co2_emission WHERE year = 2021;
pipeline_tag: sentence-similarity
library_name: sentence-transformers
Likes: 0 | All-time downloads: 36
Created: 2025-10-17 09:40:45