Yoonseok55 commited on
Commit
85b4ca2
·
verified ·
1 Parent(s): e9662ed

Upload fine-tuned Tool API Mapper reranker

Browse files
README.md ADDED
@@ -0,0 +1,395 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - cross-encoder
5
+ - reranker
6
+ - generated_from_trainer
7
+ - dataset_size:1177
8
+ - loss:BinaryCrossEntropyLoss
9
+ base_model: cross-encoder/ms-marco-MiniLM-L6-v2
10
+ pipeline_tag: text-ranking
11
+ library_name: sentence-transformers
12
+ ---
13
+
14
+ # CrossEncoder based on cross-encoder/ms-marco-MiniLM-L6-v2
15
+
16
+ This is a [Cross Encoder](https://www.sbert.net/docs/cross_encoder/usage/usage.html) model finetuned from [cross-encoder/ms-marco-MiniLM-L6-v2](https://huggingface.co/cross-encoder/ms-marco-MiniLM-L6-v2) using the [sentence-transformers](https://www.SBERT.net) library. It computes scores for pairs of texts, which can be used for text reranking and semantic search.
17
+
18
+ ## Model Details
19
+
20
+ ### Model Description
21
+ - **Model Type:** Cross Encoder
22
+ - **Base model:** [cross-encoder/ms-marco-MiniLM-L6-v2](https://huggingface.co/cross-encoder/ms-marco-MiniLM-L6-v2) <!-- at revision c5ee24cb16019beea0893ab7796b1df96625c6b8 -->
23
+ - **Maximum Sequence Length:** 512 tokens
24
+ - **Number of Output Labels:** 1 label
25
+ - **Supported Modality:** Text
26
+ <!-- - **Training Dataset:** Unknown -->
27
+ <!-- - **Language:** Unknown -->
28
+ <!-- - **License:** Unknown -->
29
+
30
+ ### Model Sources
31
+
32
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
33
+ - **Documentation:** [Cross Encoder Documentation](https://www.sbert.net/docs/cross_encoder/usage/usage.html)
34
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
35
+ - **Hugging Face:** [Cross Encoders on Hugging Face](https://huggingface.co/models?library=sentence-transformers&other=cross-encoder)
36
+
37
+ ### Full Model Architecture
38
+
39
+ ```
40
+ CrossEncoder(
41
+ (0): Transformer({'transformer_task': 'sequence-classification', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'logits'}}, 'module_output_name': 'scores', 'architecture': 'BertForSequenceClassification'})
42
+ )
43
+ ```
44
+
45
+ ## Usage
46
+
47
+ ### Direct Usage (Sentence Transformers)
48
+
49
+ First install the Sentence Transformers library:
50
+
51
+ ```bash
52
+ pip install -U sentence-transformers
53
+ ```
54
+
55
+ Then you can load this model and run inference.
56
+ ```python
57
+ from sentence_transformers import CrossEncoder
58
+
59
+ # Download from the 🤗 Hub
60
+ model = CrossEncoder("cross_encoder_model_id")
61
+ # Get scores for pairs of inputs
62
+ pairs = [
63
+ ['Tool name: get_items_for_portfolio\nTool description: List projects, goals, and other items in a portfolio. Returns item names, IDs, and types. Use for portfolio content exploration and management. Supports pagination for portfolios with many items.\nTool input parameters:\n- limit: number (optional) — Results per page (1-100)\n- offset: string (optional) — Pagination offset token\n- opt_fields: string (optional) — Comma-separated list of optional fields to include in the response\n- portfolio_gid: string (required) — Globally unique identifier for the portfolio', 'API operationId: getItemsForPortfolio\nAPI method: GET\nAPI path: /portfolios/{portfolio_gid}/items\nAPI summary: Get portfolio items\nAPI description: <b>Required scope: </b><code>portfolios:read</code>\n\nGet a list of the items in compact form in a portfolio.\nAPI parameters:\n- ref=portfolio_path_gid\n- ref=pretty\n- ref=limit\n- ref=offset\n- opt_fields in=query type=array optional — This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to incl…\nAPI request body:\nnone\nAPI security: [{"personalAccessToken":[]},{"oauth2":["portfolios:read"]}]'],
64
+ ['Tool name: get_items_for_portfolio\nTool description: List projects, goals, and other items in a portfolio. Returns item names, IDs, and types. Use for portfolio content exploration and management. Supports pagination for portfolios with many items.\nTool input parameters:\n- limit: number (optional) — Results per page (1-100)\n- offset: string (optional) — Pagination offset token\n- opt_fields: string (optional) — Comma-separated list of optional fields to include in the response\n- portfolio_gid: string (required) — Globally unique identifier for the portfolio', 'API operationId: getGoals\nAPI method: GET\nAPI path: /goals\nAPI summary: Get goals\nAPI description: <b>Required scope: </b><code>goals:read</code>\n\nReturns compact goal records.\nAPI parameters:\n- ref=pretty\n- portfolio in=query type=string optional — Globally unique identifier for supporting portfolio.\n- project in=query type=string optional — Globally unique identifier for supporting project.\n- task in=query type=string optional — Globally unique identifier for supporting task.\n- is_workspace_level in=query type=boolean optional — Filter to goals with is_workspace_level set to query value. Must be used with the workspace parameter.\n- team in=query type=string optional — Globally unique identifier for the team.\n- workspace in=query type=string optional — Globally unique identifier for the workspace.\n- time_periods in=query type=array optional — Globally unique identifiers for the time periods.\n- ref=limit\n- ref=offset\n- opt_fields in=query type=array optional — This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to incl…\nAPI request body:\nnone\nAPI security: [{"personalAccessToken":[]},{"oauth2":["goals:read"]}]'],
65
+ ['Tool name: get_items_for_portfolio\nTool description: List projects, goals, and other items in a portfolio. Returns item names, IDs, and types. Use for portfolio content exploration and management. Supports pagination for portfolios with many items.\nTool input parameters:\n- limit: number (optional) — Results per page (1-100)\n- offset: string (optional) — Pagination offset token\n- opt_fields: string (optional) — Comma-separated list of optional fields to include in the response\n- portfolio_gid: string (required) — Globally unique identifier for the portfolio', 'API operationId: searchProjectsForWorkspace\nAPI method: GET\nAPI path: /workspaces/{workspace_gid}/projects/search\nAPI summary: Search projects in a workspace\nAPI description: <b>Required scope: </b><code>projects:read</code>\n\nTo mirror the functionality of the Asana web app\'s advanced search feature, the Asana API has a project search endpoint that allows you to build complex filters to find and retrieve the exact data you need.\n#### Premium access\nLike the Asana web product\'s advance search feature, this search endpoint will only be available to premium Asana users. A user is premium if any of the following is true:\n\n- The workspace in which the search is being performed is a premium workspace\n- The user is a member of a premium team inside the workspace\n\nEven if a user is only a member of a premium team inside a non-premium workspace, search will allow them to find data anywhere in the workspace, not just inside the premium team. Making a search request using credentials of a non-premium user will result in a `402 Payment Required` error.\n#### Pagination\nSearch results are not stable; repeating the same query multiple times may return the data in a different order, even if the data do not change. Because of this, the traditional [pagination](/docs/pagination) available elsewhere in the Asana API is not available here. However, you can paginate manually by sorting the search results by their creation time and then modifying each subsequent query to exclude data you have already seen. Page sizes are limited to a maximum of 100 items, and can be specified by the `limit` query parameter.\n#### Eventual consistency\nChanges in Asana (regardless of whether they’re made though the web product or the API) are forwarded to our search infrastructure to be indexed. This process can take between 10 and 60 seconds to complete under normal operation, and longer during some production incidents. Making a change to a project that would alter its presence in a particular search query will not be reflected immediately. This is also true of the advanced search feature in the web product.\nBecause of this delay, the search endpoint is not suited for use cases that require immediate consistency after writes. If you need read-your-write behavior or strongly consistent results, we recommend using [Get multiple projects](/reference/getprojects) instead.\n#### Rate limits\nYou may receive a `429 Too Many Requests` response if you hit any of our [rate limits](/docs/rate-limits).\n#### Custom field parameters\n| Parameter name | Custom field type | Accepted type |\n|---|---|---|\n| custom_fields.{gid}.is_set | All | Boolean |\n| custom_fields.{gid}.value | Text | String |\n| custom_fields.{gid}.value | Number | Number |\n| custom_fields.{gid}.value | Enum | Enum option ID |\n| custom_fields.{gid}.starts_with | Text only | String |\n| custom_fields.{gid}.ends_with | Text only | String |\n| custom_fields.{gid}.contains | Text only | String |\n| custom_fields.{gid}.less_than | Number only | Number |\n| custom_fields.{gid}.greater_than | Number only | Number |\n\n\nFor example, if the gid of the custom field is 12345, the query parameter to find projects where it i…\nAPI parameters:\n- ref=workspace_path_gid\n- ref=pretty\n- text in=query type=string optional — Performs full-text search on the project name.\n- sort_by in=query type=string optional — One of `due_date`, `created_at`, `completed_at`, `relevance`, or `modified_at`, defaults to `modified_at`.\n- sort_ascending in=query type=boolean optional — Default `false`.\n- completed in=query type=boolean optional — Filter on project completion status.\n- teams.any in=query type=string optional — Comma-separated list of team IDs.\n- owner.any in=query type=string optional — Comma-separated list of user identifiers to filter on as project owners. This can either be the string "me", an email, or the gid of a user.\n- members.any in=query type=string optional — Comma-separated list of user identifiers to filter on as members. This can either be the string "me", an email, or the gid of a user.\n- members.not in=query type=string optional — Comma-separated list of user identifiers to exclude as members. This can either be the string "me", an email, or the gid of a user.\n- portfolios.any in=query type=string optional — Comma-separated list of portfolio IDs to filter on.\n- completed_on in=query type=string optional — ISO 8601 date string or `null`.\n- completed_on.before in=query type=string optional — ISO 8601 date string.\n- completed_on.after in=query type=string optional — ISO 8601 date string.\n- completed_at.before in=query type=string optional — ISO 8601 datetime string.\n- completed_at.after in=query type=string optional — ISO 8601 datetime string.\n- created_on in=query type=string optional — ISO 8601 date string or `null`.\n- created_on.before in=query type=string optional — ISO 8601 date string.\n- created_on.after in=query type=string optional — ISO 8601 date string.\n- created_at.before in=query type=string optional — ISO 8601 datetime string.\n- created_at.after in=query type=string optional — ISO 8601 datetime string.\n- due_on in=query type=string optional — ISO 8601 date string or `null`.\n- due_on.before in=query type=string optional — ISO 8601 date string.\n- due_on.after in=query type=string optional — ISO 8601 date string.\n- due_at.before in=query type=string optional — ISO 8601 datetime string.\n- due_at.after in=query type=string optional — ISO 8601 datetime string.\n- start_on in=query type=string optional — ISO 8601 date string or `null`.\n- start_on.before in=query type=string optional — ISO 8601 date string.\n- start_on.after in=query type=string optional — ISO 8601 date string.\n- opt_fields in=query type=array optional — This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to incl…\nAPI request body:\nnone\nAPI security: [{"personalAccessToken":[]},{"oauth2":["projects:read"]}]'],
66
+ ['Tool name: get_items_for_portfolio\nTool description: List projects, goals, and other items in a portfolio. Returns item names, IDs, and types. Use for portfolio content exploration and management. Supports pagination for portfolios with many items.\nTool input parameters:\n- limit: number (optional) — Results per page (1-100)\n- offset: string (optional) — Pagination offset token\n- opt_fields: string (optional) — Comma-separated list of optional fields to include in the response\n- portfolio_gid: string (required) — Globally unique identifier for the portfolio', 'API operationId: removeDependentsForTask\nAPI method: POST\nAPI path: /tasks/{task_gid}/removeDependents\nAPI summary: Unlink dependents from a task\nAPI description: <b>Required scope: </b><code>tasks:write</code>\n\nUnlinks a set of dependents from this task.\nAPI parameters:\n- ref=task_path_gid\n- ref=pretty\nAPI request body:\nrequired\napplication/json: object\n- data: ModifyDependentsRequest (optional)\nAPI security: [{"personalAccessToken":[]},{"oauth2":["tasks:write"]}]'],
67
+ ['Tool name: create_project_status_update\nTool description: Post a status update to a project or portfolio. Use for project health updates, milestone documentation, or blocker reporting. Returns created status with gid, parent, title, status_type, author, created_at, permalink_url. Exactly one of text or html_text must be provided.\nTool input parameters:\n- text: string (optional) — Plain-text status body. Exactly one of text or html_text must be provided.\n- color: string (required) — Status color: green (on track), yellow (at risk), red (off track), blue (on hold), complete\n- title: string (required) — Status title\n- parent: string (required) — GID of the project or portfolio to post the status update to.\n- html_text: string (optional) — Exactly one of text or html_text must be provided. Allowed elements only: <body>, <strong>, <em>, <u>, <s>, <code>, <ol>, <ul>, <li>, <a>, <blockquote>, <pre>. Do not use <h1>, <h2>, <hr/>, or <img> here. Must be well-formed XML with a sin…', 'API operationId: createProjectStatusForProject\nAPI method: POST\nAPI path: /projects/{project_gid}/project_statuses\nAPI summary: Create a project status\nAPI description: *Deprecated: new integrations should prefer the `/status_updates` route.*\n\nCreates a new status update on the project.\n\nReturns the full record of the newly created project status update.\nAPI parameters:\n- ref=project_path_gid\n- ref=pretty\n- opt_fields in=query type=array optional — This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to incl…\nAPI request body:\nrequired\napplication/json: object\n- data: ProjectStatusRequest (optional)\nAPI security: [{"personalAccessToken":[]},{"oauth2":[]}]'],
68
+ ]
69
+ scores = model.predict(pairs)
70
+ print(scores)
71
+ # [0.9548 0.5538 0.0191 0.0028 0.9919]
72
+
73
+ # Or rank different texts based on similarity to a single text
74
+ ranks = model.rank(
75
+ 'Tool name: get_items_for_portfolio\nTool description: List projects, goals, and other items in a portfolio. Returns item names, IDs, and types. Use for portfolio content exploration and management. Supports pagination for portfolios with many items.\nTool input parameters:\n- limit: number (optional) — Results per page (1-100)\n- offset: string (optional) — Pagination offset token\n- opt_fields: string (optional) — Comma-separated list of optional fields to include in the response\n- portfolio_gid: string (required) — Globally unique identifier for the portfolio',
76
+ [
77
+ 'API operationId: getItemsForPortfolio\nAPI method: GET\nAPI path: /portfolios/{portfolio_gid}/items\nAPI summary: Get portfolio items\nAPI description: <b>Required scope: </b><code>portfolios:read</code>\n\nGet a list of the items in compact form in a portfolio.\nAPI parameters:\n- ref=portfolio_path_gid\n- ref=pretty\n- ref=limit\n- ref=offset\n- opt_fields in=query type=array optional — This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to incl…\nAPI request body:\nnone\nAPI security: [{"personalAccessToken":[]},{"oauth2":["portfolios:read"]}]',
78
+ 'API operationId: getGoals\nAPI method: GET\nAPI path: /goals\nAPI summary: Get goals\nAPI description: <b>Required scope: </b><code>goals:read</code>\n\nReturns compact goal records.\nAPI parameters:\n- ref=pretty\n- portfolio in=query type=string optional — Globally unique identifier for supporting portfolio.\n- project in=query type=string optional — Globally unique identifier for supporting project.\n- task in=query type=string optional — Globally unique identifier for supporting task.\n- is_workspace_level in=query type=boolean optional — Filter to goals with is_workspace_level set to query value. Must be used with the workspace parameter.\n- team in=query type=string optional — Globally unique identifier for the team.\n- workspace in=query type=string optional — Globally unique identifier for the workspace.\n- time_periods in=query type=array optional — Globally unique identifiers for the time periods.\n- ref=limit\n- ref=offset\n- opt_fields in=query type=array optional — This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to incl…\nAPI request body:\nnone\nAPI security: [{"personalAccessToken":[]},{"oauth2":["goals:read"]}]',
79
+ 'API operationId: searchProjectsForWorkspace\nAPI method: GET\nAPI path: /workspaces/{workspace_gid}/projects/search\nAPI summary: Search projects in a workspace\nAPI description: <b>Required scope: </b><code>projects:read</code>\n\nTo mirror the functionality of the Asana web app\'s advanced search feature, the Asana API has a project search endpoint that allows you to build complex filters to find and retrieve the exact data you need.\n#### Premium access\nLike the Asana web product\'s advance search feature, this search endpoint will only be available to premium Asana users. A user is premium if any of the following is true:\n\n- The workspace in which the search is being performed is a premium workspace\n- The user is a member of a premium team inside the workspace\n\nEven if a user is only a member of a premium team inside a non-premium workspace, search will allow them to find data anywhere in the workspace, not just inside the premium team. Making a search request using credentials of a non-premium user will result in a `402 Payment Required` error.\n#### Pagination\nSearch results are not stable; repeating the same query multiple times may return the data in a different order, even if the data do not change. Because of this, the traditional [pagination](/docs/pagination) available elsewhere in the Asana API is not available here. However, you can paginate manually by sorting the search results by their creation time and then modifying each subsequent query to exclude data you have already seen. Page sizes are limited to a maximum of 100 items, and can be specified by the `limit` query parameter.\n#### Eventual consistency\nChanges in Asana (regardless of whether they’re made though the web product or the API) are forwarded to our search infrastructure to be indexed. This process can take between 10 and 60 seconds to complete under normal operation, and longer during some production incidents. Making a change to a project that would alter its presence in a particular search query will not be reflected immediately. This is also true of the advanced search feature in the web product.\nBecause of this delay, the search endpoint is not suited for use cases that require immediate consistency after writes. If you need read-your-write behavior or strongly consistent results, we recommend using [Get multiple projects](/reference/getprojects) instead.\n#### Rate limits\nYou may receive a `429 Too Many Requests` response if you hit any of our [rate limits](/docs/rate-limits).\n#### Custom field parameters\n| Parameter name | Custom field type | Accepted type |\n|---|---|---|\n| custom_fields.{gid}.is_set | All | Boolean |\n| custom_fields.{gid}.value | Text | String |\n| custom_fields.{gid}.value | Number | Number |\n| custom_fields.{gid}.value | Enum | Enum option ID |\n| custom_fields.{gid}.starts_with | Text only | String |\n| custom_fields.{gid}.ends_with | Text only | String |\n| custom_fields.{gid}.contains | Text only | String |\n| custom_fields.{gid}.less_than | Number only | Number |\n| custom_fields.{gid}.greater_than | Number only | Number |\n\n\nFor example, if the gid of the custom field is 12345, the query parameter to find projects where it i…\nAPI parameters:\n- ref=workspace_path_gid\n- ref=pretty\n- text in=query type=string optional — Performs full-text search on the project name.\n- sort_by in=query type=string optional — One of `due_date`, `created_at`, `completed_at`, `relevance`, or `modified_at`, defaults to `modified_at`.\n- sort_ascending in=query type=boolean optional — Default `false`.\n- completed in=query type=boolean optional — Filter on project completion status.\n- teams.any in=query type=string optional — Comma-separated list of team IDs.\n- owner.any in=query type=string optional — Comma-separated list of user identifiers to filter on as project owners. This can either be the string "me", an email, or the gid of a user.\n- members.any in=query type=string optional — Comma-separated list of user identifiers to filter on as members. This can either be the string "me", an email, or the gid of a user.\n- members.not in=query type=string optional — Comma-separated list of user identifiers to exclude as members. This can either be the string "me", an email, or the gid of a user.\n- portfolios.any in=query type=string optional — Comma-separated list of portfolio IDs to filter on.\n- completed_on in=query type=string optional — ISO 8601 date string or `null`.\n- completed_on.before in=query type=string optional — ISO 8601 date string.\n- completed_on.after in=query type=string optional — ISO 8601 date string.\n- completed_at.before in=query type=string optional — ISO 8601 datetime string.\n- completed_at.after in=query type=string optional — ISO 8601 datetime string.\n- created_on in=query type=string optional — ISO 8601 date string or `null`.\n- created_on.before in=query type=string optional — ISO 8601 date string.\n- created_on.after in=query type=string optional — ISO 8601 date string.\n- created_at.before in=query type=string optional — ISO 8601 datetime string.\n- created_at.after in=query type=string optional — ISO 8601 datetime string.\n- due_on in=query type=string optional — ISO 8601 date string or `null`.\n- due_on.before in=query type=string optional — ISO 8601 date string.\n- due_on.after in=query type=string optional — ISO 8601 date string.\n- due_at.before in=query type=string optional — ISO 8601 datetime string.\n- due_at.after in=query type=string optional — ISO 8601 datetime string.\n- start_on in=query type=string optional — ISO 8601 date string or `null`.\n- start_on.before in=query type=string optional — ISO 8601 date string.\n- start_on.after in=query type=string optional — ISO 8601 date string.\n- opt_fields in=query type=array optional — This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to incl…\nAPI request body:\nnone\nAPI security: [{"personalAccessToken":[]},{"oauth2":["projects:read"]}]',
80
+ 'API operationId: removeDependentsForTask\nAPI method: POST\nAPI path: /tasks/{task_gid}/removeDependents\nAPI summary: Unlink dependents from a task\nAPI description: <b>Required scope: </b><code>tasks:write</code>\n\nUnlinks a set of dependents from this task.\nAPI parameters:\n- ref=task_path_gid\n- ref=pretty\nAPI request body:\nrequired\napplication/json: object\n- data: ModifyDependentsRequest (optional)\nAPI security: [{"personalAccessToken":[]},{"oauth2":["tasks:write"]}]',
81
+ 'API operationId: createProjectStatusForProject\nAPI method: POST\nAPI path: /projects/{project_gid}/project_statuses\nAPI summary: Create a project status\nAPI description: *Deprecated: new integrations should prefer the `/status_updates` route.*\n\nCreates a new status update on the project.\n\nReturns the full record of the newly created project status update.\nAPI parameters:\n- ref=project_path_gid\n- ref=pretty\n- opt_fields in=query type=array optional — This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to incl…\nAPI request body:\nrequired\napplication/json: object\n- data: ProjectStatusRequest (optional)\nAPI security: [{"personalAccessToken":[]},{"oauth2":[]}]',
82
+ ]
83
+ )
84
+ # [{'corpus_id': ..., 'score': ...}, {'corpus_id': ..., 'score': ...}, ...]
85
+ ```
86
+
87
+ <!--
88
+ ### Direct Usage (Transformers)
89
+
90
+ <details><summary>Click to see the direct usage in Transformers</summary>
91
+
92
+ </details>
93
+ -->
94
+
95
+ <!--
96
+ ### Downstream Usage (Sentence Transformers)
97
+
98
+ You can finetune this model on your own dataset.
99
+
100
+ <details><summary>Click to expand</summary>
101
+
102
+ </details>
103
+ -->
104
+
105
+ <!--
106
+ ### Out-of-Scope Use
107
+
108
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
109
+ -->
110
+
111
+ <!--
112
+ ## Bias, Risks and Limitations
113
+
114
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
115
+ -->
116
+
117
+ <!--
118
+ ### Recommendations
119
+
120
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
121
+ -->
122
+
123
+ ## Training Details
124
+
125
+ ### Training Dataset
126
+
127
+ #### Unnamed Dataset
128
+
129
+ * Size: 1,177 training samples
130
+ * Columns: <code>tool_text</code>, <code>api_text</code>, and <code>label</code>
131
+ * Approximate statistics based on the first 100 samples:
132
+ | | tool_text | api_text | label |
133
+ |:---------|:-------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:---------------------------------------------------------------|
134
+ | type | string | string | float |
135
+ | modality | text | text | |
136
+ | details | <ul><li>min: 86 tokens</li><li>mean: 257.85 tokens</li><li>max: 512 tokens</li></ul> | <ul><li>min: 110 tokens</li><li>mean: 359.87 tokens</li><li>max: 512 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.25</li><li>max: 1.0</li></ul> |
137
+ * Samples:
138
+ | tool_text | api_text | label |
139
+ |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------|
140
+ | <code>Tool name: get_workspace_agents<br>Tool description: Returns a list of AI Teammate agents (automated agents, not human users) configured in a workspace. AI Teammates are Asana-specific automation agents — they are distinct from human coworkers, teammates, or workspace members. Do NOT use this tool when the user asks about people, users, teammates, or team members; use get_users or search_objects instead. Each agent record includes GID, name, resource_type, and resource_subtype. Use to discover available AI Teammate agents before fetching full details with get_agent. Supports pagination for workspaces with many agents.<br>Tool input parameters:<br>- limit: number (optional) — Results per page (1-100).<br>- offset: string (optional) — Pagination offset token from a previous response.<br>- opt_fields: string (optional) — Comma-separated list of optional fields to include in the response. Available fields: gid, resource_type, resource_subtype, name.</code> | <code>API operationId: getAgentsForWorkspace<br>API method: GET<br>API path: /workspaces/{workspace_gid}/agents<br>API summary: Get a list of agents in a workspace<br>API description: Returns the compact records of agents (AI Teammates) configured. Use `opt_fields` to request additional fields in the workspace.<br>API parameters:<br>- ref=workspace_path_gid<br>- ref=pretty<br>- ref=limit<br>- ref=offset<br>- opt_fields in=query type=array optional — This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to incl…<br>API request body:<br>none<br>API security: [{"personalAccessToken":[]},{"oauth2":[]}]</code> | <code>1.0</code> |
141
+ | <code>Tool name: get_workspace_agents<br>Tool description: Returns a list of AI Teammate agents (automated agents, not human users) configured in a workspace. AI Teammates are Asana-specific automation agents — they are distinct from human coworkers, teammates, or workspace members. Do NOT use this tool when the user asks about people, users, teammates, or team members; use get_users or search_objects instead. Each agent record includes GID, name, resource_type, and resource_subtype. Use to discover available AI Teammate agents before fetching full details with get_agent. Supports pagination for workspaces with many agents.<br>Tool input parameters:<br>- limit: number (optional) — Results per page (1-100).<br>- offset: string (optional) — Pagination offset token from a previous response.<br>- opt_fields: string (optional) — Comma-separated list of optional fields to include in the response. Available fields: gid, resource_type, resource_subtype, name.</code> | <code>API operationId: typeaheadForWorkspace<br>API method: GET<br>API path: /workspaces/{workspace_gid}/typeahead<br>API summary: Get objects via typeahead<br>API description: <b>Required scope: </b><code>workspaces.typeahead:read</code><br><br>Retrieves objects in the workspace based via an auto-completion/typeahead<br>search algorithm. This feature is meant to provide results quickly, so do<br>not rely on this API to provide extremely accurate search results. The<br>result set is limited to a single page of results with a maximum size, so<br>you won’t be able to fetch large numbers of results.<br><br>The typeahead search API provides search for objects from a single<br>workspace. This endpoint should be used to query for objects when<br>creating an auto-completion/typeahead search feature. This API is meant<br>to provide results quickly and should not be relied upon for accurate or<br>exhaustive search results. The results sets are limited in size and<br>cannot be paginated.<br><br>Queries return a compact representation of each object which is...</code> | <code>0.0</code> |
142
+ | <code>Tool name: get_workspace_agents<br>Tool description: Returns a list of AI Teammate agents (automated agents, not human users) configured in a workspace. AI Teammates are Asana-specific automation agents — they are distinct from human coworkers, teammates, or workspace members. Do NOT use this tool when the user asks about people, users, teammates, or team members; use get_users or search_objects instead. Each agent record includes GID, name, resource_type, and resource_subtype. Use to discover available AI Teammate agents before fetching full details with get_agent. Supports pagination for workspaces with many agents.<br>Tool input parameters:<br>- limit: number (optional) — Results per page (1-100).<br>- offset: string (optional) — Pagination offset token from a previous response.<br>- opt_fields: string (optional) — Comma-separated list of optional fields to include in the response. Available fields: gid, resource_type, resource_subtype, name.</code> | <code>API operationId: searchProjectsForWorkspace<br>API method: GET<br>API path: /workspaces/{workspace_gid}/projects/search<br>API summary: Search projects in a workspace<br>API description: <b>Required scope: </b><code>projects:read</code><br><br>To mirror the functionality of the Asana web app's advanced search feature, the Asana API has a project search endpoint that allows you to build complex filters to find and retrieve the exact data you need.<br>#### Premium access<br>Like the Asana web product's advance search feature, this search endpoint will only be available to premium Asana users. A user is premium if any of the following is true:<br><br>- The workspace in which the search is being performed is a premium workspace<br>- The user is a member of a premium team inside the workspace<br><br>Even if a user is only a member of a premium team inside a non-premium workspace, search will allow them to find data anywhere in the workspace, not just inside the premium team. Making a search request using credentials of a non-pre...</code> | <code>0.0</code> |
143
+ * Loss: [<code>BinaryCrossEntropyLoss</code>](https://sbert.net/docs/package_reference/cross_encoder/losses.html#binarycrossentropyloss) with these parameters:
144
+ ```json
145
+ {
146
+ "activation_fn": "torch.nn.modules.linear.Identity",
147
+ "pos_weight": 3.203571319580078
148
+ }
149
+ ```
150
+
151
+ ### Evaluation Dataset
152
+
153
+ #### Unnamed Dataset
154
+
155
+ * Size: 292 evaluation samples
156
+ * Columns: <code>tool_text</code>, <code>api_text</code>, and <code>label</code>
157
+ * Approximate statistics based on the first 100 samples:
158
+ | | tool_text | api_text | label |
159
+ |:---------|:-------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:---------------------------------------------------------------|
160
+ | type | string | string | float |
161
+ | modality | text | text | |
162
+ | details | <ul><li>min: 78 tokens</li><li>mean: 360.69 tokens</li><li>max: 512 tokens</li></ul> | <ul><li>min: 101 tokens</li><li>mean: 352.91 tokens</li><li>max: 512 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.25</li><li>max: 1.0</li></ul> |
163
+ * Samples:
164
+ | tool_text | api_text | label |
165
+ |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------|
166
+ | <code>Tool name: get_items_for_portfolio<br>Tool description: List projects, goals, and other items in a portfolio. Returns item names, IDs, and types. Use for portfolio content exploration and management. Supports pagination for portfolios with many items.<br>Tool input parameters:<br>- limit: number (optional) — Results per page (1-100)<br>- offset: string (optional) — Pagination offset token<br>- opt_fields: string (optional) — Comma-separated list of optional fields to include in the response<br>- portfolio_gid: string (required) — Globally unique identifier for the portfolio</code> | <code>API operationId: getItemsForPortfolio<br>API method: GET<br>API path: /portfolios/{portfolio_gid}/items<br>API summary: Get portfolio items<br>API description: <b>Required scope: </b><code>portfolios:read</code><br><br>Get a list of the items in compact form in a portfolio.<br>API parameters:<br>- ref=portfolio_path_gid<br>- ref=pretty<br>- ref=limit<br>- ref=offset<br>- opt_fields in=query type=array optional — This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to incl…<br>API request body:<br>none<br>API security: [{"personalAccessToken":[]},{"oauth2":["portfolios:read"]}]</code> | <code>1.0</code> |
167
+ | <code>Tool name: get_items_for_portfolio<br>Tool description: List projects, goals, and other items in a portfolio. Returns item names, IDs, and types. Use for portfolio content exploration and management. Supports pagination for portfolios with many items.<br>Tool input parameters:<br>- limit: number (optional) — Results per page (1-100)<br>- offset: string (optional) — Pagination offset token<br>- opt_fields: string (optional) — Comma-separated list of optional fields to include in the response<br>- portfolio_gid: string (required) — Globally unique identifier for the portfolio</code> | <code>API operationId: getGoals<br>API method: GET<br>API path: /goals<br>API summary: Get goals<br>API description: <b>Required scope: </b><code>goals:read</code><br><br>Returns compact goal records.<br>API parameters:<br>- ref=pretty<br>- portfolio in=query type=string optional — Globally unique identifier for supporting portfolio.<br>- project in=query type=string optional — Globally unique identifier for supporting project.<br>- task in=query type=string optional — Globally unique identifier for supporting task.<br>- is_workspace_level in=query type=boolean optional — Filter to goals with is_workspace_level set to query value. Must be used with the workspace parameter.<br>- team in=query type=string optional — Globally unique identifier for the team.<br>- workspace in=query type=string optional — Globally unique identifier for the workspace.<br>- time_periods in=query type=array optional — Globally unique identifiers for the time periods.<br>- ref=limit<br>- ref=offset<br>- opt_fields in=query type=array optional — This endpoint returns a r...</code> | <code>0.0</code> |
168
+ | <code>Tool name: get_items_for_portfolio<br>Tool description: List projects, goals, and other items in a portfolio. Returns item names, IDs, and types. Use for portfolio content exploration and management. Supports pagination for portfolios with many items.<br>Tool input parameters:<br>- limit: number (optional) — Results per page (1-100)<br>- offset: string (optional) — Pagination offset token<br>- opt_fields: string (optional) — Comma-separated list of optional fields to include in the response<br>- portfolio_gid: string (required) — Globally unique identifier for the portfolio</code> | <code>API operationId: searchProjectsForWorkspace<br>API method: GET<br>API path: /workspaces/{workspace_gid}/projects/search<br>API summary: Search projects in a workspace<br>API description: <b>Required scope: </b><code>projects:read</code><br><br>To mirror the functionality of the Asana web app's advanced search feature, the Asana API has a project search endpoint that allows you to build complex filters to find and retrieve the exact data you need.<br>#### Premium access<br>Like the Asana web product's advance search feature, this search endpoint will only be available to premium Asana users. A user is premium if any of the following is true:<br><br>- The workspace in which the search is being performed is a premium workspace<br>- The user is a member of a premium team inside the workspace<br><br>Even if a user is only a member of a premium team inside a non-premium workspace, search will allow them to find data anywhere in the workspace, not just inside the premium team. Making a search request using credentials of a non-pre...</code> | <code>0.0</code> |
169
+ * Loss: [<code>BinaryCrossEntropyLoss</code>](https://sbert.net/docs/package_reference/cross_encoder/losses.html#binarycrossentropyloss) with these parameters:
170
+ ```json
171
+ {
172
+ "activation_fn": "torch.nn.modules.linear.Identity",
173
+ "pos_weight": 3.203571319580078
174
+ }
175
+ ```
176
+
177
+ ### Training Hyperparameters
178
+ #### Non-Default Hyperparameters
179
+
180
+ - `learning_rate`: 2e-05
181
+ - `warmup_steps`: 0.1
182
+ - `load_best_model_at_end`: True
183
+
184
+ #### All Hyperparameters
185
+ <details><summary>Click to expand</summary>
186
+
187
+ - `per_device_train_batch_size`: 8
188
+ - `num_train_epochs`: 3.0
189
+ - `max_steps`: -1
190
+ - `learning_rate`: 2e-05
191
+ - `lr_scheduler_type`: linear
192
+ - `lr_scheduler_kwargs`: None
193
+ - `warmup_steps`: 0.1
194
+ - `optim`: adamw_torch_fused
195
+ - `optim_args`: None
196
+ - `weight_decay`: 0.0
197
+ - `adam_beta1`: 0.9
198
+ - `adam_beta2`: 0.999
199
+ - `adam_epsilon`: 1e-08
200
+ - `optim_target_modules`: None
201
+ - `gradient_accumulation_steps`: 1
202
+ - `average_tokens_across_devices`: True
203
+ - `max_grad_norm`: 1.0
204
+ - `label_smoothing_factor`: 0.0
205
+ - `bf16`: False
206
+ - `fp16`: False
207
+ - `bf16_full_eval`: False
208
+ - `fp16_full_eval`: False
209
+ - `tf32`: None
210
+ - `gradient_checkpointing`: False
211
+ - `gradient_checkpointing_kwargs`: None
212
+ - `torch_compile`: False
213
+ - `torch_compile_backend`: None
214
+ - `torch_compile_mode`: None
215
+ - `use_liger_kernel`: False
216
+ - `liger_kernel_config`: None
217
+ - `use_cache`: False
218
+ - `neftune_noise_alpha`: None
219
+ - `torch_empty_cache_steps`: None
220
+ - `auto_find_batch_size`: False
221
+ - `log_on_each_node`: True
222
+ - `logging_nan_inf_filter`: True
223
+ - `include_num_input_tokens_seen`: no
224
+ - `log_level`: passive
225
+ - `log_level_replica`: warning
226
+ - `disable_tqdm`: False
227
+ - `project`: huggingface
228
+ - `trackio_space_id`: None
229
+ - `trackio_bucket_id`: None
230
+ - `trackio_static_space_id`: None
231
+ - `per_device_eval_batch_size`: 8
232
+ - `prediction_loss_only`: True
233
+ - `eval_on_start`: False
234
+ - `eval_do_concat_batches`: True
235
+ - `eval_use_gather_object`: False
236
+ - `eval_accumulation_steps`: None
237
+ - `include_for_metrics`: []
238
+ - `batch_eval_metrics`: False
239
+ - `save_only_model`: False
240
+ - `save_on_each_node`: False
241
+ - `enable_jit_checkpoint`: False
242
+ - `push_to_hub`: False
243
+ - `hub_private_repo`: None
244
+ - `hub_model_id`: None
245
+ - `hub_strategy`: every_save
246
+ - `hub_always_push`: False
247
+ - `hub_revision`: None
248
+ - `load_best_model_at_end`: True
249
+ - `ignore_data_skip`: False
250
+ - `restore_callback_states_from_checkpoint`: False
251
+ - `full_determinism`: False
252
+ - `seed`: 42
253
+ - `data_seed`: None
254
+ - `use_cpu`: False
255
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
256
+ - `parallelism_config`: None
257
+ - `dataloader_drop_last`: False
258
+ - `dataloader_num_workers`: 0
259
+ - `dataloader_pin_memory`: True
260
+ - `dataloader_persistent_workers`: False
261
+ - `dataloader_prefetch_factor`: None
262
+ - `remove_unused_columns`: True
263
+ - `label_names`: None
264
+ - `train_sampling_strategy`: random
265
+ - `length_column_name`: length
266
+ - `ddp_find_unused_parameters`: None
267
+ - `ddp_bucket_cap_mb`: None
268
+ - `ddp_broadcast_buffers`: False
269
+ - `ddp_static_graph`: None
270
+ - `ddp_backend`: None
271
+ - `ddp_timeout`: 1800
272
+ - `fsdp`: None
273
+ - `fsdp_config`: None
274
+ - `deepspeed`: None
275
+ - `debug`: []
276
+ - `skip_memory_metrics`: True
277
+ - `do_predict`: False
278
+ - `resume_from_checkpoint`: None
279
+ - `warmup_ratio`: None
280
+ - `local_rank`: -1
281
+ - `prompts`: None
282
+ - `batch_sampler`: batch_sampler
283
+ - `multi_dataset_batch_sampler`: proportional
284
+ - `router_mapping`: {}
285
+ - `learning_rate_mapping`: {}
286
+
287
+ </details>
288
+
289
+ ### Training Logs
290
+ | Epoch | Step | Training Loss | Validation Loss |
291
+ |:-------:|:-------:|:-------------:|:---------------:|
292
+ | 0.0676 | 10 | 1.1911 | - |
293
+ | 0.1351 | 20 | 1.4397 | - |
294
+ | 0.2027 | 30 | 1.2027 | - |
295
+ | 0.2703 | 40 | 0.9313 | - |
296
+ | 0.3378 | 50 | 0.9512 | - |
297
+ | 0.4054 | 60 | 0.9227 | - |
298
+ | 0.4730 | 70 | 1.1389 | - |
299
+ | 0.5405 | 80 | 0.8144 | - |
300
+ | 0.6081 | 90 | 0.9436 | - |
301
+ | 0.6757 | 100 | 0.7426 | - |
302
+ | 0.7432 | 110 | 0.9883 | - |
303
+ | 0.8108 | 120 | 1.0752 | - |
304
+ | 0.8784 | 130 | 0.6164 | - |
305
+ | 0.9459 | 140 | 0.9604 | - |
306
+ | 1.0 | 148 | - | 0.8833 |
307
+ | 1.0135 | 150 | 0.6779 | - |
308
+ | 1.0811 | 160 | 0.7870 | - |
309
+ | 1.1486 | 170 | 0.8959 | - |
310
+ | 1.2162 | 180 | 0.8707 | - |
311
+ | 1.2838 | 190 | 0.4864 | - |
312
+ | 1.3514 | 200 | 0.6602 | - |
313
+ | 1.4189 | 210 | 0.6126 | - |
314
+ | 1.4865 | 220 | 0.8670 | - |
315
+ | 1.5541 | 230 | 0.8714 | - |
316
+ | 1.6216 | 240 | 0.7248 | - |
317
+ | 1.6892 | 250 | 0.6296 | - |
318
+ | 1.7568 | 260 | 0.3921 | - |
319
+ | 1.8243 | 270 | 1.2907 | - |
320
+ | 1.8919 | 280 | 0.6874 | - |
321
+ | 1.9595 | 290 | 0.5129 | - |
322
+ | **2.0** | **296** | **-** | **0.814** |
323
+ | 2.0270 | 300 | 0.9275 | - |
324
+ | 2.0946 | 310 | 0.4639 | - |
325
+ | 2.1622 | 320 | 0.9713 | - |
326
+ | 2.2297 | 330 | 0.5497 | - |
327
+ | 2.2973 | 340 | 0.4370 | - |
328
+ | 2.3649 | 350 | 0.4956 | - |
329
+ | 2.4324 | 360 | 0.6012 | - |
330
+ | 2.5 | 370 | 0.5977 | - |
331
+ | 2.5676 | 380 | 0.4219 | - |
332
+ | 2.6351 | 390 | 0.7734 | - |
333
+ | 2.7027 | 400 | 0.5345 | - |
334
+ | 2.7703 | 410 | 0.7214 | - |
335
+ | 2.8378 | 420 | 0.8833 | - |
336
+ | 2.9054 | 430 | 0.7155 | - |
337
+ | 2.9730 | 440 | 0.7586 | - |
338
+ | 3.0 | 444 | - | 0.8396 |
339
+
340
+ * The bold row denotes the saved checkpoint.
341
+
342
+ ### Training Time
343
+ - **Training**: 26.6 seconds
344
+ - **Evaluation**: 3.3 seconds
345
+ - **Total**: 30.0 seconds
346
+
347
+ ### Framework Versions
348
+ - Python: 3.12.13
349
+ - Sentence Transformers: 5.6.1
350
+ - Transformers: 5.14.1
351
+ - PyTorch: 2.13.0+cu130
352
+ - Accelerate: 1.14.0
353
+ - Datasets: 5.0.1
354
+ - Tokenizers: 0.22.2
355
+
356
+ ## Additional Resources
357
+
358
+ - [Training and Finetuning Reranker Models with Sentence Transformers](https://huggingface.co/blog/train-reranker): the end-to-end guide for training or finetuning Cross Encoder (reranker) models.
359
+ - [Multimodal Embedding & Reranker Models with Sentence Transformers](https://huggingface.co/blog/multimodal-sentence-transformers): use text, image, audio, and video reranker models through the same API.
360
+ - [Training and Finetuning Multimodal Embedding & Reranker Models with Sentence Transformers](https://huggingface.co/blog/train-multimodal-sentence-transformers): training multimodal Cross Encoders.
361
+
362
+ ## Citation
363
+
364
+ ### BibTeX
365
+
366
+ #### Sentence Transformers
367
+ ```bibtex
368
+ @inproceedings{reimers-2019-sentence-bert,
369
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
370
+ author = "Reimers, Nils and Gurevych, Iryna",
371
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
372
+ month = "11",
373
+ year = "2019",
374
+ publisher = "Association for Computational Linguistics",
375
+ url = "https://arxiv.org/abs/1908.10084",
376
+ }
377
+ ```
378
+
379
+ <!--
380
+ ## Glossary
381
+
382
+ *Clearly define terms in order to be accessible across audiences.*
383
+ -->
384
+
385
+ <!--
386
+ ## Model Card Authors
387
+
388
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
389
+ -->
390
+
391
+ <!--
392
+ ## Model Card Contact
393
+
394
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
395
+ -->
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": null,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 384,
15
+ "id2label": {
16
+ "0": "LABEL_0"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 1536,
20
+ "is_decoder": false,
21
+ "label2id": {
22
+ "LABEL_0": 0
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "max_position_embeddings": 512,
26
+ "model_type": "bert",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 6,
29
+ "pad_token_id": 0,
30
+ "position_embedding_type": "absolute",
31
+ "sbert_ce_default_activation_function": "torch.nn.modules.linear.Identity",
32
+ "tie_word_embeddings": true,
33
+ "transformers_version": "5.14.1",
34
+ "type_vocab_size": 2,
35
+ "use_cache": false,
36
+ "vocab_size": 30522
37
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "pytorch": "2.13.0+cu130",
4
+ "sentence_transformers": "5.6.1",
5
+ "transformers": "5.14.1"
6
+ },
7
+ "activation_fn": "torch.nn.modules.activation.Sigmoid",
8
+ "default_prompt_name": null,
9
+ "model_type": "CrossEncoder",
10
+ "prompts": {}
11
+ }
mapper_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_model": "cross-encoder/ms-marco-MiniLM-L6-v2",
3
+ "services": "all",
4
+ "unknown_threshold": 0.7844762802124023,
5
+ "threshold_note": "pair-level validation F1; recalibrate with no-match Tools when available",
6
+ "validation_pair_f1": 0.6792452830188679,
7
+ "train_pair_count": 1177,
8
+ "validation_pair_count": 292,
9
+ "positive_pair_count": 280,
10
+ "negative_pair_count": 897,
11
+ "epochs": 3.0,
12
+ "batch_size": 8,
13
+ "learning_rate": 2e-05,
14
+ "seed": 42,
15
+ "hub_model_id": "Yoonseok55/tool-api-mapper-reranker"
16
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d9b2c94bf528d8714e301c4a4da24b0d1f69b66b464dcdf14c064dc18007737
3
+ size 90866412
modules.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.base.modules.transformer.Transformer"
7
+ }
8
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "transformer_task": "sequence-classification",
3
+ "modality_config": {
4
+ "text": {
5
+ "method": "forward",
6
+ "method_output_name": "logits"
7
+ }
8
+ },
9
+ "module_output_name": "scores"
10
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "clean_up_tokenization_spaces": true,
4
+ "cls_token": "[CLS]",
5
+ "do_basic_tokenize": true,
6
+ "do_lower_case": true,
7
+ "is_local": false,
8
+ "local_files_only": false,
9
+ "mask_token": "[MASK]",
10
+ "model_max_length": 512,
11
+ "never_split": null,
12
+ "pad_token": "[PAD]",
13
+ "sep_token": "[SEP]",
14
+ "strip_accents": null,
15
+ "tokenize_chinese_chars": true,
16
+ "tokenizer_class": "BertTokenizer",
17
+ "unk_token": "[UNK]"
18
+ }