Model: Shuu12121/CodeSearch-ModernBERT-Owl-v1
Author: Shuu12121
Pipeline: sentence-similarity
Library: sentence-transformers
Tags: sentence-transformers, safetensors, modernbert, sentence-similarity, feature-extraction, generated_from_trainer, dataset_size:3999600, loss:MultipleNegativesRankingLoss, arxiv:1908.10084, arxiv:1705.00652, base_model:Shuu12121/CodeModernBERT-Owl-v1, base_model:finetune:Shuu12121/CodeModernBERT-Owl-v1, text-embeddings-inference, endpoints_compatible, region:us
Base models (finetune): id: Shuu12121/CodeModernBERT-Owl-v1
Card metadata: tags: sentence-transformers, sentence-similarity, feature-extraction, generated_from_trainer, dataset_size:3999600, loss:MultipleNegativesRankingLoss
base_model: Shuu12121/CodeModernBERT-Owl-v1
widget: source_sentence: The list of databases

Generated from protobuf field <code>repeated .google.cloud.alloydb.v1.Database databases = 1;</code>
@param array<\Google\Cloud\AlloyDb\V1\Database>|\Google\Protobuf\Internal\RepeatedField $var
@return $this
sentences: public function setDatabases($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AlloyDb\V1\Database::class);
        $this->databases = $arr;

        return $this;
    }, public function toApiArray($row, $role = 'guest', $deep = true)
    {
        return $row;
    }, def adapter( type = :file, *args, &block )
        adapters.add(type, *args, &block)
      end, source_sentence: Gets mention

@return \LINE\Webhook\Model\Mention|null
sentences: public final ListPhoneNumbersPagedResponse listPhoneNumbers(String parent) {
    ListPhoneNumbersRequest request =
        ListPhoneNumbersRequest.newBuilder().setParent(parent).build();
    return listPhoneNumbers(request);
  }, public function getMention()
    {
        return $this->container['mention'];
    }, function parse(raw, opts) {
  opts = opts || {};

  var preserveNumbers = opts.preserveNumbers;
  var trim = function (s) {
    return s.trim();
  };
  var obj = {};

  getKeyValueChunks(raw).map(trim).filter(Boolean).forEach(function (item) {
    // split with `.indexOf` rather than `.split` because the value may also contain colons.
    var pos = item.indexOf(':');
    var key = item.substr(0, pos).trim();
    var val = item.substr(pos + 1).trim();
    if (preserveNumbers && isNumeric(val)) {
      val = Number(val);
    }

    obj[key] = val;
  });

  return obj;
}, source_sentence: reset clears the current state of the tree.
sentences: func (a *TreeToListAdapter) reset() {
	count := a.adapter.Count()
	a.node.descendants = count
	a.node.children = make([]*TreeToListNode, count)
	for i := range a.node.children {
		node := a.adapter.NodeAt(i)
		item := node.Item()
		a.node.children[i] = &TreeToListNode{container: node, item: item, parent: a}
	}
}, public void setPhases(java.util.List<Phase> phases) {
        this.phases = phases;
    }, protected function getJobIdsByQueue($queue)
    {
        $failer = $this->laravel['queue.failer'];

        $ids = method_exists($failer, 'ids')
            ? $failer->ids($queue)
            : collect($failer->all())
                ->where('queue', $queue)
                ->pluck('id')
                ->toArray();

        if (count($ids) === 0) {
            $this->components->error("Unable to find failed jobs for queue [{$queue}].");
        }

        return $ids;
    }, source_sentence: Creates a new `JsNativeError` from its `kind`, `message` and (optionally) its `cause`.
sentences: public function group(array $attributes, Closure $callback)
    {
        $previousGroupAttributes = $this->groupAttributes;
        $this->groupAttributes = array_merge_recursive($previousGroupAttributes, $attributes);

        \call_user_func($callback, $this);

        $this->groupAttributes = $previousGroupAttributes;
    }, const fn new(
        kind: JsNativeErrorKind,
        message: Cow<'static, str>,
        cause: Option<Box<JsError>>,
    ) -> Self {
        Self {
            kind,
            message,
            cause,
            realm: None,
        }
    }, fn column_id_to_prune(&self, name: &str) -> Option<ColumnId> {
        let metadata = self
            .expected_metadata
            .as_ref()
            .unwrap_or_else(|| self.read_format.metadata());
        metadata.column_by_name(name).map(|col| col.column_id)
    }, source_sentence: #
Deletes the cluster, including the Kubernetes endpoint and all worker
nodes.

Firewalls and routes that were configured during cluster creation
are also deleted.

Other Google Compute Engine resources that might be in use by the cluster,
such as load balancer resources, are not deleted if they weren't present
when the cluster was initially created.

@overload delete_cluster(request, options = nil)
Pass arguments to `delete_cluster` via a request object, either of type
{::Google::Cloud::Container::V1::DeleteClusterRequest} or an equivalent Hash.

@param request [::Google::Cloud::Container::V1::DeleteClusterRequest, ::Hash]
A request object representing the call parameters. Required. To specify no
parameters, or to keep all the default parameter values, pass an empty Hash.
@param options [::Gapic::CallOptions, ::Hash]
Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

@overload delete_cluster(project_id: nil, zone: nil, cluster_id: nil, name: nil)
Pass arguments to `delete_cluster` via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).

@param project_id [::String]
Deprecated. The Google Developers Console [project ID or project
number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
This field has been deprecated and replaced by the name field.
@param zone [::String]
Deprecated. The name of the Google Compute Engine
[zone](https://cloud.google.com/compute/docs/zones#available) in which the
cluster resides. This field has been deprecated and replaced by the name
field.
@param cluster_id [::String]
Deprecated. The name of the cluster to delete.
This field has been deprecated and replaced by the name field.
@param name [::String]
The name (project, location, cluster) of the cluster to delete.
Specified in the format `projects/*/locations/*/clusters/*`.

@yield [response, operation] Access the result along with the RPC operation
@yieldparam response [::Google::Cloud::Container::V1::Operation]
@yieldparam operation [::GRPC::ActiveCall::Operation]

@return [::Google::Cloud::Container::V1::Operation]

@raise [::Google::Cloud::Error] if the RPC is aborted.

@example Basic example
require "google/cloud/container/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::Container::V1::ClusterManager::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::Container::V1::DeleteClusterRequest.new

# Call the delete_cluster method.
result = client.delete_cluster request

# The returned object is of type Google::Cloud::Container::V1::Operation.
p result
sentences: public function getWiFiSecurityType()
    {
        if (array_key_exists("wiFiSecurityType", $this->_propDict)) {
            if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\AospDeviceOwnerWiFiSecurityType") || is_null($this->_propDict["wiFiSecurityType"])) {
                return $this->_propDict["wiFiSecurityType"];
            } else {
                $this->_propDict["wiFiSecurityType"] = new AospDeviceOwnerWiFiSecurityType($this->_propDict["wiFiSecurityType"]);
                return $this->_propDict["wiFiSecurityType"];
            }
        }
        return null;
    }, device(deviceType, deviceId = 0) {
	        return new DLDevice(deviceType, deviceId, this.lib);
	    }, def delete_cluster request, options = nil
              raise ::ArgumentError, "request must be provided" if request.nil?

              request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Container::V1::DeleteClusterRequest

              # Converts hash and nil to an options object
              options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h

              # Customize the options with defaults
              metadata = @config.rpcs.delete_cluster.metadata.to_h

              # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
              metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
                lib_name: @config.lib_name, lib_version: @config.lib_version,
                gapic_version: ::Google::Cloud::Container::V1::VERSION
              metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
              metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id

              header_params = {}
              if request.name
                header_params["name"] = request.name
              end

              request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
              metadata[:"x-goog-request-params"] ||= request_params_header

              options.apply_defaults timeout:      @config.rpcs.delete_cluster.timeout,
                                     metadata:     metadata,
                                     retry_policy: @config.rpcs.delete_cluster.retry_policy

              options.apply_defaults timeout:      @config.timeout,
                                     metadata:     @config.metadata,
                                     retry_policy: @config.retry_policy

              @cluster_manager_stub.call_rpc :delete_cluster, request, options: options do |response, operation|
                yield response, operation if block_given?
              end
            rescue ::GRPC::BadStatus => e
              raise ::Google::Cloud::Error.from_error(e)
            end
pipeline_tag: sentence-similarity
library_name: sentence-transformers
Likes: 0 | All-time downloads: 54
Created: 2025-07-25 04:01:38