Push model using huggingface_hub.
Browse files- .gitattributes +2 -0
- 1_Pooling/config.json +10 -0
- README.md +435 -0
- config.json +25 -0
- config_sentence_transformers.json +14 -0
- config_setfit.json +4 -0
- model.safetensors +3 -0
- model_head.pkl +3 -0
- modules.json +14 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +51 -0
- tokenizer.json +3 -0
- tokenizer_config.json +65 -0
- unigram.json +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
unigram.json filter=lfs diff=lfs merge=lfs -text
|
1_Pooling/config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"word_embedding_dimension": 384,
|
| 3 |
+
"pooling_mode_cls_token": false,
|
| 4 |
+
"pooling_mode_mean_tokens": true,
|
| 5 |
+
"pooling_mode_max_tokens": false,
|
| 6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
| 7 |
+
"pooling_mode_weightedmean_tokens": false,
|
| 8 |
+
"pooling_mode_lasttoken": false,
|
| 9 |
+
"include_prompt": true
|
| 10 |
+
}
|
README.md
ADDED
|
@@ -0,0 +1,435 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- setfit
|
| 4 |
+
- sentence-transformers
|
| 5 |
+
- text-classification
|
| 6 |
+
- generated_from_setfit_trainer
|
| 7 |
+
widget:
|
| 8 |
+
- text: el presente marco estratégico agrario es un documento elaborado por el ministerio
|
| 9 |
+
de agricultura y ganadería, de alcance nacional, relativo al período 2014-2018,
|
| 10 |
+
cuyo objetivo general es incrementar en forma sostenida la competitividad de la
|
| 11 |
+
producción agraria en función de las demandas de mercado, con enfoque de sistemas
|
| 12 |
+
agroalimentarios y agroindustriales sostenibles, socialmente incluyentes, equitativos,
|
| 13 |
+
territorialmente integradores, de modo de satisfacer el consumo interno de alimentos,
|
| 14 |
+
así como la demanda del sector externo e impulsando otras producciones rurales
|
| 15 |
+
no agrarias generadoras de ingreso y empleo, para contribuir a la reducción sustantiva
|
| 16 |
+
de la pobreza. la estrategia busca ayudar a a eliminar el hambre, la inseguridad
|
| 17 |
+
alimentaria y la malnutrición, además de reducir la pobreza rural. unos de sus
|
| 18 |
+
objetivos específicos es concretamente mejorar la calidad de vida con reducción
|
| 19 |
+
sustantiva de la pobreza en la agricultura familiar, generando las condiciones
|
| 20 |
+
institucionales adecuadas que posibiliten a sus miembros, acceder a los servicios
|
| 21 |
+
impulsores del arraigo y del desarrollo, promoviendo la producción competitiva
|
| 22 |
+
de alimentos y de otros rubros comerciales generadores de ingreso, concurrentes
|
| 23 |
+
a la inserción equitativa y sostenible del sector en el complejo agroalimentario
|
| 24 |
+
y agroindustrial.'
|
| 25 |
+
- text: overall, the strategy will use a livelihoods approach that focuses on the
|
| 26 |
+
promotion of livelihoods assets by supporting income generation through sustainable
|
| 27 |
+
employment, asset creation and investments (productive assets and skill transfer
|
| 28 |
+
- market linkages that increase demand for locally produced food and products
|
| 29 |
+
- and business/entrepreneurship interventions to support graduation out of extreme
|
| 30 |
+
poverty) alongside prevention approach for managing risks and shocks and protection
|
| 31 |
+
measures to ensure that basic needs are met. strategic objectives 2021-2024 1.
|
| 32 |
+
enable refugees and host communities to acquire and preserve livelihoods assets
|
| 33 |
+
to construct their living, become self-reliant and build resilience to shocks
|
| 34 |
+
2. promote socio-economic inclusion of refugees and host communities and their
|
| 35 |
+
enhanced access to economic opportunities on a sustainable basis 3. expand proven
|
| 36 |
+
and innovative ways of supporting self-reliance of refugees and host communities
|
| 37 |
+
in rwanda, especially through the graduation approach and market-based interventions
|
| 38 |
+
4. promote results and evidence-based programming by improving planning- implementation
|
| 39 |
+
– monitoring – learning and practice on successful livelihoods approaches
|
| 40 |
+
- text: To elevate livestock production, the policy will promote integrated breeding
|
| 41 |
+
programs, strengthened animal health services, and extension support to farmers,
|
| 42 |
+
enabling higher productivity across cattle, sheep, goats, and poultry while safeguarding
|
| 43 |
+
animal welfare.
|
| 44 |
+
- text: Research, development, and demonstration programs will be scaled up to close
|
| 45 |
+
technology gaps, lower processing costs, and strengthen data on lifecycle environmental
|
| 46 |
+
impacts; partnerships with public research institutions and the private sector
|
| 47 |
+
will accelerate deployment of efficient bioenergy technologies and standardized
|
| 48 |
+
sustainability assessment tools.
|
| 49 |
+
- text: School and workplace nutrition programs will promote healthier choices by
|
| 50 |
+
removing sugar-rich products from regular offerings, expanding water access, and
|
| 51 |
+
integrating nutrition education that addresses SSBs, portion sizes, and overall
|
| 52 |
+
diet quality.
|
| 53 |
+
metrics:
|
| 54 |
+
- accuracy
|
| 55 |
+
pipeline_tag: text-classification
|
| 56 |
+
library_name: setfit
|
| 57 |
+
inference: false
|
| 58 |
+
base_model: sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
|
| 59 |
+
---
|
| 60 |
+
|
| 61 |
+
# SetFit with sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
|
| 62 |
+
|
| 63 |
+
This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2) as the Sentence Transformer embedding model. A OneVsRestClassifier instance is used for classification.
|
| 64 |
+
|
| 65 |
+
The model has been trained using an efficient few-shot learning technique that involves:
|
| 66 |
+
|
| 67 |
+
1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
|
| 68 |
+
2. Training a classification head with features from the fine-tuned Sentence Transformer.
|
| 69 |
+
|
| 70 |
+
## Model Details
|
| 71 |
+
|
| 72 |
+
### Model Description
|
| 73 |
+
- **Model Type:** SetFit
|
| 74 |
+
- **Sentence Transformer body:** [sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2)
|
| 75 |
+
- **Classification head:** a OneVsRestClassifier instance
|
| 76 |
+
- **Maximum Sequence Length:** 128 tokens
|
| 77 |
+
<!-- - **Number of Classes:** Unknown -->
|
| 78 |
+
<!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
|
| 79 |
+
<!-- - **Language:** Unknown -->
|
| 80 |
+
<!-- - **License:** Unknown -->
|
| 81 |
+
|
| 82 |
+
### Model Sources
|
| 83 |
+
|
| 84 |
+
- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
|
| 85 |
+
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
|
| 86 |
+
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
| 87 |
+
|
| 88 |
+
## Uses
|
| 89 |
+
|
| 90 |
+
### Direct Use for Inference
|
| 91 |
+
|
| 92 |
+
First install the SetFit library:
|
| 93 |
+
|
| 94 |
+
```bash
|
| 95 |
+
pip install setfit
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
Then you can load this model and run inference.
|
| 99 |
+
|
| 100 |
+
```python
|
| 101 |
+
from setfit import SetFitModel
|
| 102 |
+
|
| 103 |
+
# Download from the 🤗 Hub
|
| 104 |
+
model = SetFitModel.from_pretrained("faodl/model_cca_multilabel_MiniLM-L12-50prop")
|
| 105 |
+
# Run inference
|
| 106 |
+
preds = model("School and workplace nutrition programs will promote healthier choices by removing sugar-rich products from regular offerings, expanding water access, and integrating nutrition education that addresses SSBs, portion sizes, and overall diet quality.")
|
| 107 |
+
```
|
| 108 |
+
|
| 109 |
+
<!--
|
| 110 |
+
### Downstream Use
|
| 111 |
+
|
| 112 |
+
*List how someone could finetune this model on their own dataset.*
|
| 113 |
+
-->
|
| 114 |
+
|
| 115 |
+
<!--
|
| 116 |
+
### Out-of-Scope Use
|
| 117 |
+
|
| 118 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
| 119 |
+
-->
|
| 120 |
+
|
| 121 |
+
<!--
|
| 122 |
+
## Bias, Risks and Limitations
|
| 123 |
+
|
| 124 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
| 125 |
+
-->
|
| 126 |
+
|
| 127 |
+
<!--
|
| 128 |
+
### Recommendations
|
| 129 |
+
|
| 130 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
| 131 |
+
-->
|
| 132 |
+
|
| 133 |
+
## Training Details
|
| 134 |
+
|
| 135 |
+
### Training Set Metrics
|
| 136 |
+
| Training set | Min | Median | Max |
|
| 137 |
+
|:-------------|:----|:--------|:----|
|
| 138 |
+
| Word count | 1 | 78.4753 | 951 |
|
| 139 |
+
|
| 140 |
+
### Training Hyperparameters
|
| 141 |
+
- batch_size: (16, 16)
|
| 142 |
+
- num_epochs: (2, 2)
|
| 143 |
+
- max_steps: -1
|
| 144 |
+
- sampling_strategy: oversampling
|
| 145 |
+
- num_iterations: 20
|
| 146 |
+
- body_learning_rate: (2e-05, 2e-05)
|
| 147 |
+
- head_learning_rate: 2e-05
|
| 148 |
+
- loss: CosineSimilarityLoss
|
| 149 |
+
- distance_metric: cosine_distance
|
| 150 |
+
- margin: 0.25
|
| 151 |
+
- end_to_end: False
|
| 152 |
+
- use_amp: False
|
| 153 |
+
- warmup_proportion: 0.1
|
| 154 |
+
- l2_weight: 0.01
|
| 155 |
+
- seed: 42
|
| 156 |
+
- eval_max_steps: -1
|
| 157 |
+
- load_best_model_at_end: False
|
| 158 |
+
|
| 159 |
+
### Training Results
|
| 160 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
| 161 |
+
|:------:|:-----:|:-------------:|:---------------:|
|
| 162 |
+
| 0.0002 | 1 | 0.3075 | - |
|
| 163 |
+
| 0.0087 | 50 | 0.2066 | - |
|
| 164 |
+
| 0.0173 | 100 | 0.1932 | - |
|
| 165 |
+
| 0.0260 | 150 | 0.1878 | - |
|
| 166 |
+
| 0.0347 | 200 | 0.1824 | - |
|
| 167 |
+
| 0.0434 | 250 | 0.1682 | - |
|
| 168 |
+
| 0.0520 | 300 | 0.1566 | - |
|
| 169 |
+
| 0.0607 | 350 | 0.1487 | - |
|
| 170 |
+
| 0.0694 | 400 | 0.1542 | - |
|
| 171 |
+
| 0.0781 | 450 | 0.1553 | - |
|
| 172 |
+
| 0.0867 | 500 | 0.1513 | - |
|
| 173 |
+
| 0.0954 | 550 | 0.1329 | - |
|
| 174 |
+
| 0.1041 | 600 | 0.1551 | - |
|
| 175 |
+
| 0.1127 | 650 | 0.1428 | - |
|
| 176 |
+
| 0.1214 | 700 | 0.1414 | - |
|
| 177 |
+
| 0.1301 | 750 | 0.1152 | - |
|
| 178 |
+
| 0.1388 | 800 | 0.1283 | - |
|
| 179 |
+
| 0.1474 | 850 | 0.1305 | - |
|
| 180 |
+
| 0.1561 | 900 | 0.1303 | - |
|
| 181 |
+
| 0.1648 | 950 | 0.1257 | - |
|
| 182 |
+
| 0.1735 | 1000 | 0.1103 | - |
|
| 183 |
+
| 0.1821 | 1050 | 0.1183 | - |
|
| 184 |
+
| 0.1908 | 1100 | 0.1151 | - |
|
| 185 |
+
| 0.1995 | 1150 | 0.1129 | - |
|
| 186 |
+
| 0.2082 | 1200 | 0.1039 | - |
|
| 187 |
+
| 0.2168 | 1250 | 0.1126 | - |
|
| 188 |
+
| 0.2255 | 1300 | 0.1188 | - |
|
| 189 |
+
| 0.2342 | 1350 | 0.114 | - |
|
| 190 |
+
| 0.2428 | 1400 | 0.1094 | - |
|
| 191 |
+
| 0.2515 | 1450 | 0.1078 | - |
|
| 192 |
+
| 0.2602 | 1500 | 0.1018 | - |
|
| 193 |
+
| 0.2689 | 1550 | 0.1136 | - |
|
| 194 |
+
| 0.2775 | 1600 | 0.1004 | - |
|
| 195 |
+
| 0.2862 | 1650 | 0.1018 | - |
|
| 196 |
+
| 0.2949 | 1700 | 0.0929 | - |
|
| 197 |
+
| 0.3036 | 1750 | 0.0986 | - |
|
| 198 |
+
| 0.3122 | 1800 | 0.0951 | - |
|
| 199 |
+
| 0.3209 | 1850 | 0.0939 | - |
|
| 200 |
+
| 0.3296 | 1900 | 0.0898 | - |
|
| 201 |
+
| 0.3382 | 1950 | 0.095 | - |
|
| 202 |
+
| 0.3469 | 2000 | 0.0885 | - |
|
| 203 |
+
| 0.3556 | 2050 | 0.0941 | - |
|
| 204 |
+
| 0.3643 | 2100 | 0.1028 | - |
|
| 205 |
+
| 0.3729 | 2150 | 0.0945 | - |
|
| 206 |
+
| 0.3816 | 2200 | 0.0924 | - |
|
| 207 |
+
| 0.3903 | 2250 | 0.0846 | - |
|
| 208 |
+
| 0.3990 | 2300 | 0.0839 | - |
|
| 209 |
+
| 0.4076 | 2350 | 0.0927 | - |
|
| 210 |
+
| 0.4163 | 2400 | 0.0839 | - |
|
| 211 |
+
| 0.4250 | 2450 | 0.0799 | - |
|
| 212 |
+
| 0.4337 | 2500 | 0.0862 | - |
|
| 213 |
+
| 0.4423 | 2550 | 0.0872 | - |
|
| 214 |
+
| 0.4510 | 2600 | 0.0905 | - |
|
| 215 |
+
| 0.4597 | 2650 | 0.0857 | - |
|
| 216 |
+
| 0.4683 | 2700 | 0.0791 | - |
|
| 217 |
+
| 0.4770 | 2750 | 0.0829 | - |
|
| 218 |
+
| 0.4857 | 2800 | 0.0776 | - |
|
| 219 |
+
| 0.4944 | 2850 | 0.0775 | - |
|
| 220 |
+
| 0.5030 | 2900 | 0.088 | - |
|
| 221 |
+
| 0.5117 | 2950 | 0.0824 | - |
|
| 222 |
+
| 0.5204 | 3000 | 0.0871 | - |
|
| 223 |
+
| 0.5291 | 3050 | 0.0731 | - |
|
| 224 |
+
| 0.5377 | 3100 | 0.0799 | - |
|
| 225 |
+
| 0.5464 | 3150 | 0.0763 | - |
|
| 226 |
+
| 0.5551 | 3200 | 0.0725 | - |
|
| 227 |
+
| 0.5637 | 3250 | 0.0789 | - |
|
| 228 |
+
| 0.5724 | 3300 | 0.0893 | - |
|
| 229 |
+
| 0.5811 | 3350 | 0.0714 | - |
|
| 230 |
+
| 0.5898 | 3400 | 0.0802 | - |
|
| 231 |
+
| 0.5984 | 3450 | 0.0725 | - |
|
| 232 |
+
| 0.6071 | 3500 | 0.0756 | - |
|
| 233 |
+
| 0.6158 | 3550 | 0.0778 | - |
|
| 234 |
+
| 0.6245 | 3600 | 0.0735 | - |
|
| 235 |
+
| 0.6331 | 3650 | 0.0738 | - |
|
| 236 |
+
| 0.6418 | 3700 | 0.0733 | - |
|
| 237 |
+
| 0.6505 | 3750 | 0.0696 | - |
|
| 238 |
+
| 0.6592 | 3800 | 0.0732 | - |
|
| 239 |
+
| 0.6678 | 3850 | 0.0757 | - |
|
| 240 |
+
| 0.6765 | 3900 | 0.0652 | - |
|
| 241 |
+
| 0.6852 | 3950 | 0.0662 | - |
|
| 242 |
+
| 0.6938 | 4000 | 0.0796 | - |
|
| 243 |
+
| 0.7025 | 4050 | 0.0709 | - |
|
| 244 |
+
| 0.7112 | 4100 | 0.0678 | - |
|
| 245 |
+
| 0.7199 | 4150 | 0.0698 | - |
|
| 246 |
+
| 0.7285 | 4200 | 0.0636 | - |
|
| 247 |
+
| 0.7372 | 4250 | 0.0679 | - |
|
| 248 |
+
| 0.7459 | 4300 | 0.073 | - |
|
| 249 |
+
| 0.7546 | 4350 | 0.0685 | - |
|
| 250 |
+
| 0.7632 | 4400 | 0.074 | - |
|
| 251 |
+
| 0.7719 | 4450 | 0.0717 | - |
|
| 252 |
+
| 0.7806 | 4500 | 0.0615 | - |
|
| 253 |
+
| 0.7892 | 4550 | 0.0671 | - |
|
| 254 |
+
| 0.7979 | 4600 | 0.0655 | - |
|
| 255 |
+
| 0.8066 | 4650 | 0.0658 | - |
|
| 256 |
+
| 0.8153 | 4700 | 0.0585 | - |
|
| 257 |
+
| 0.8239 | 4750 | 0.0619 | - |
|
| 258 |
+
| 0.8326 | 4800 | 0.0615 | - |
|
| 259 |
+
| 0.8413 | 4850 | 0.0593 | - |
|
| 260 |
+
| 0.8500 | 4900 | 0.0596 | - |
|
| 261 |
+
| 0.8586 | 4950 | 0.063 | - |
|
| 262 |
+
| 0.8673 | 5000 | 0.0591 | - |
|
| 263 |
+
| 0.8760 | 5050 | 0.0685 | - |
|
| 264 |
+
| 0.8846 | 5100 | 0.0651 | - |
|
| 265 |
+
| 0.8933 | 5150 | 0.0623 | - |
|
| 266 |
+
| 0.9020 | 5200 | 0.0605 | - |
|
| 267 |
+
| 0.9107 | 5250 | 0.0618 | - |
|
| 268 |
+
| 0.9193 | 5300 | 0.0683 | - |
|
| 269 |
+
| 0.9280 | 5350 | 0.0631 | - |
|
| 270 |
+
| 0.9367 | 5400 | 0.0651 | - |
|
| 271 |
+
| 0.9454 | 5450 | 0.0578 | - |
|
| 272 |
+
| 0.9540 | 5500 | 0.0646 | - |
|
| 273 |
+
| 0.9627 | 5550 | 0.054 | - |
|
| 274 |
+
| 0.9714 | 5600 | 0.0638 | - |
|
| 275 |
+
| 0.9801 | 5650 | 0.0592 | - |
|
| 276 |
+
| 0.9887 | 5700 | 0.0632 | - |
|
| 277 |
+
| 0.9974 | 5750 | 0.0573 | - |
|
| 278 |
+
| 1.0061 | 5800 | 0.0568 | - |
|
| 279 |
+
| 1.0147 | 5850 | 0.0554 | - |
|
| 280 |
+
| 1.0234 | 5900 | 0.0519 | - |
|
| 281 |
+
| 1.0321 | 5950 | 0.0555 | - |
|
| 282 |
+
| 1.0408 | 6000 | 0.0487 | - |
|
| 283 |
+
| 1.0494 | 6050 | 0.0659 | - |
|
| 284 |
+
| 1.0581 | 6100 | 0.0463 | - |
|
| 285 |
+
| 1.0668 | 6150 | 0.0604 | - |
|
| 286 |
+
| 1.0755 | 6200 | 0.0553 | - |
|
| 287 |
+
| 1.0841 | 6250 | 0.0484 | - |
|
| 288 |
+
| 1.0928 | 6300 | 0.0475 | - |
|
| 289 |
+
| 1.1015 | 6350 | 0.0489 | - |
|
| 290 |
+
| 1.1101 | 6400 | 0.0544 | - |
|
| 291 |
+
| 1.1188 | 6450 | 0.051 | - |
|
| 292 |
+
| 1.1275 | 6500 | 0.05 | - |
|
| 293 |
+
| 1.1362 | 6550 | 0.0578 | - |
|
| 294 |
+
| 1.1448 | 6600 | 0.0518 | - |
|
| 295 |
+
| 1.1535 | 6650 | 0.0499 | - |
|
| 296 |
+
| 1.1622 | 6700 | 0.0512 | - |
|
| 297 |
+
| 1.1709 | 6750 | 0.054 | - |
|
| 298 |
+
| 1.1795 | 6800 | 0.0596 | - |
|
| 299 |
+
| 1.1882 | 6850 | 0.0445 | - |
|
| 300 |
+
| 1.1969 | 6900 | 0.0546 | - |
|
| 301 |
+
| 1.2056 | 6950 | 0.0605 | - |
|
| 302 |
+
| 1.2142 | 7000 | 0.0518 | - |
|
| 303 |
+
| 1.2229 | 7050 | 0.0535 | - |
|
| 304 |
+
| 1.2316 | 7100 | 0.0643 | - |
|
| 305 |
+
| 1.2402 | 7150 | 0.0509 | - |
|
| 306 |
+
| 1.2489 | 7200 | 0.0477 | - |
|
| 307 |
+
| 1.2576 | 7250 | 0.0421 | - |
|
| 308 |
+
| 1.2663 | 7300 | 0.0558 | - |
|
| 309 |
+
| 1.2749 | 7350 | 0.0431 | - |
|
| 310 |
+
| 1.2836 | 7400 | 0.0527 | - |
|
| 311 |
+
| 1.2923 | 7450 | 0.0512 | - |
|
| 312 |
+
| 1.3010 | 7500 | 0.049 | - |
|
| 313 |
+
| 1.3096 | 7550 | 0.0489 | - |
|
| 314 |
+
| 1.3183 | 7600 | 0.0515 | - |
|
| 315 |
+
| 1.3270 | 7650 | 0.0537 | - |
|
| 316 |
+
| 1.3356 | 7700 | 0.0556 | - |
|
| 317 |
+
| 1.3443 | 7750 | 0.0445 | - |
|
| 318 |
+
| 1.3530 | 7800 | 0.0509 | - |
|
| 319 |
+
| 1.3617 | 7850 | 0.0571 | - |
|
| 320 |
+
| 1.3703 | 7900 | 0.0582 | - |
|
| 321 |
+
| 1.3790 | 7950 | 0.0488 | - |
|
| 322 |
+
| 1.3877 | 8000 | 0.0482 | - |
|
| 323 |
+
| 1.3964 | 8050 | 0.0564 | - |
|
| 324 |
+
| 1.4050 | 8100 | 0.0487 | - |
|
| 325 |
+
| 1.4137 | 8150 | 0.0605 | - |
|
| 326 |
+
| 1.4224 | 8200 | 0.0539 | - |
|
| 327 |
+
| 1.4310 | 8250 | 0.0463 | - |
|
| 328 |
+
| 1.4397 | 8300 | 0.0468 | - |
|
| 329 |
+
| 1.4484 | 8350 | 0.0485 | - |
|
| 330 |
+
| 1.4571 | 8400 | 0.0569 | - |
|
| 331 |
+
| 1.4657 | 8450 | 0.0601 | - |
|
| 332 |
+
| 1.4744 | 8500 | 0.0545 | - |
|
| 333 |
+
| 1.4831 | 8550 | 0.0471 | - |
|
| 334 |
+
| 1.4918 | 8600 | 0.0472 | - |
|
| 335 |
+
| 1.5004 | 8650 | 0.0464 | - |
|
| 336 |
+
| 1.5091 | 8700 | 0.0511 | - |
|
| 337 |
+
| 1.5178 | 8750 | 0.0477 | - |
|
| 338 |
+
| 1.5265 | 8800 | 0.0464 | - |
|
| 339 |
+
| 1.5351 | 8850 | 0.0497 | - |
|
| 340 |
+
| 1.5438 | 8900 | 0.0493 | - |
|
| 341 |
+
| 1.5525 | 8950 | 0.0555 | - |
|
| 342 |
+
| 1.5611 | 9000 | 0.0523 | - |
|
| 343 |
+
| 1.5698 | 9050 | 0.0563 | - |
|
| 344 |
+
| 1.5785 | 9100 | 0.0473 | - |
|
| 345 |
+
| 1.5872 | 9150 | 0.0455 | - |
|
| 346 |
+
| 1.5958 | 9200 | 0.0469 | - |
|
| 347 |
+
| 1.6045 | 9250 | 0.0456 | - |
|
| 348 |
+
| 1.6132 | 9300 | 0.048 | - |
|
| 349 |
+
| 1.6219 | 9350 | 0.0498 | - |
|
| 350 |
+
| 1.6305 | 9400 | 0.0568 | - |
|
| 351 |
+
| 1.6392 | 9450 | 0.0501 | - |
|
| 352 |
+
| 1.6479 | 9500 | 0.0509 | - |
|
| 353 |
+
| 1.6565 | 9550 | 0.0482 | - |
|
| 354 |
+
| 1.6652 | 9600 | 0.0479 | - |
|
| 355 |
+
| 1.6739 | 9650 | 0.0442 | - |
|
| 356 |
+
| 1.6826 | 9700 | 0.0528 | - |
|
| 357 |
+
| 1.6912 | 9750 | 0.0453 | - |
|
| 358 |
+
| 1.6999 | 9800 | 0.041 | - |
|
| 359 |
+
| 1.7086 | 9850 | 0.0507 | - |
|
| 360 |
+
| 1.7173 | 9900 | 0.0495 | - |
|
| 361 |
+
| 1.7259 | 9950 | 0.0517 | - |
|
| 362 |
+
| 1.7346 | 10000 | 0.052 | - |
|
| 363 |
+
| 1.7433 | 10050 | 0.047 | - |
|
| 364 |
+
| 1.7520 | 10100 | 0.052 | - |
|
| 365 |
+
| 1.7606 | 10150 | 0.0565 | - |
|
| 366 |
+
| 1.7693 | 10200 | 0.0458 | - |
|
| 367 |
+
| 1.7780 | 10250 | 0.0409 | - |
|
| 368 |
+
| 1.7866 | 10300 | 0.0487 | - |
|
| 369 |
+
| 1.7953 | 10350 | 0.0516 | - |
|
| 370 |
+
| 1.8040 | 10400 | 0.049 | - |
|
| 371 |
+
| 1.8127 | 10450 | 0.0511 | - |
|
| 372 |
+
| 1.8213 | 10500 | 0.0498 | - |
|
| 373 |
+
| 1.8300 | 10550 | 0.0449 | - |
|
| 374 |
+
| 1.8387 | 10600 | 0.047 | - |
|
| 375 |
+
| 1.8474 | 10650 | 0.0463 | - |
|
| 376 |
+
| 1.8560 | 10700 | 0.0457 | - |
|
| 377 |
+
| 1.8647 | 10750 | 0.0495 | - |
|
| 378 |
+
| 1.8734 | 10800 | 0.0454 | - |
|
| 379 |
+
| 1.8820 | 10850 | 0.0486 | - |
|
| 380 |
+
| 1.8907 | 10900 | 0.049 | - |
|
| 381 |
+
| 1.8994 | 10950 | 0.0502 | - |
|
| 382 |
+
| 1.9081 | 11000 | 0.0454 | - |
|
| 383 |
+
| 1.9167 | 11050 | 0.0478 | - |
|
| 384 |
+
| 1.9254 | 11100 | 0.0509 | - |
|
| 385 |
+
| 1.9341 | 11150 | 0.0518 | - |
|
| 386 |
+
| 1.9428 | 11200 | 0.0445 | - |
|
| 387 |
+
| 1.9514 | 11250 | 0.043 | - |
|
| 388 |
+
| 1.9601 | 11300 | 0.0414 | - |
|
| 389 |
+
| 1.9688 | 11350 | 0.0452 | - |
|
| 390 |
+
| 1.9775 | 11400 | 0.0468 | - |
|
| 391 |
+
| 1.9861 | 11450 | 0.0426 | - |
|
| 392 |
+
| 1.9948 | 11500 | 0.0457 | - |
|
| 393 |
+
|
| 394 |
+
### Framework Versions
|
| 395 |
+
- Python: 3.12.12
|
| 396 |
+
- SetFit: 1.1.3
|
| 397 |
+
- Sentence Transformers: 5.1.1
|
| 398 |
+
- Transformers: 4.57.1
|
| 399 |
+
- PyTorch: 2.8.0+cu126
|
| 400 |
+
- Datasets: 4.0.0
|
| 401 |
+
- Tokenizers: 0.22.1
|
| 402 |
+
|
| 403 |
+
## Citation
|
| 404 |
+
|
| 405 |
+
### BibTeX
|
| 406 |
+
```bibtex
|
| 407 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
| 408 |
+
doi = {10.48550/ARXIV.2209.11055},
|
| 409 |
+
url = {https://arxiv.org/abs/2209.11055},
|
| 410 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
| 411 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
| 412 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
| 413 |
+
publisher = {arXiv},
|
| 414 |
+
year = {2022},
|
| 415 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
| 416 |
+
}
|
| 417 |
+
```
|
| 418 |
+
|
| 419 |
+
<!--
|
| 420 |
+
## Glossary
|
| 421 |
+
|
| 422 |
+
*Clearly define terms in order to be accessible across audiences.*
|
| 423 |
+
-->
|
| 424 |
+
|
| 425 |
+
<!--
|
| 426 |
+
## Model Card Authors
|
| 427 |
+
|
| 428 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
| 429 |
+
-->
|
| 430 |
+
|
| 431 |
+
<!--
|
| 432 |
+
## Model Card Contact
|
| 433 |
+
|
| 434 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 435 |
+
-->
|
config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BertModel"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"classifier_dropout": null,
|
| 7 |
+
"dtype": "float32",
|
| 8 |
+
"gradient_checkpointing": false,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 384,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 1536,
|
| 14 |
+
"layer_norm_eps": 1e-12,
|
| 15 |
+
"max_position_embeddings": 512,
|
| 16 |
+
"model_type": "bert",
|
| 17 |
+
"num_attention_heads": 12,
|
| 18 |
+
"num_hidden_layers": 12,
|
| 19 |
+
"pad_token_id": 0,
|
| 20 |
+
"position_embedding_type": "absolute",
|
| 21 |
+
"transformers_version": "4.57.1",
|
| 22 |
+
"type_vocab_size": 2,
|
| 23 |
+
"use_cache": true,
|
| 24 |
+
"vocab_size": 250037
|
| 25 |
+
}
|
config_sentence_transformers.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"__version__": {
|
| 3 |
+
"sentence_transformers": "5.1.1",
|
| 4 |
+
"transformers": "4.57.1",
|
| 5 |
+
"pytorch": "2.8.0+cu126"
|
| 6 |
+
},
|
| 7 |
+
"model_type": "SentenceTransformer",
|
| 8 |
+
"prompts": {
|
| 9 |
+
"query": "",
|
| 10 |
+
"document": ""
|
| 11 |
+
},
|
| 12 |
+
"default_prompt_name": null,
|
| 13 |
+
"similarity_fn_name": "cosine"
|
| 14 |
+
}
|
config_setfit.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"normalize_embeddings": false,
|
| 3 |
+
"labels": null
|
| 4 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f733e64578bf126ac91837af5b68389888733d44675e6ee45f7f492bd3f8df0f
|
| 3 |
+
size 470637416
|
model_head.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0926c0f6e3b28f95bd6ecf33328c48d8561a826de55cea2f333a410a758f64a0
|
| 3 |
+
size 324772
|
modules.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"idx": 0,
|
| 4 |
+
"name": "0",
|
| 5 |
+
"path": "",
|
| 6 |
+
"type": "sentence_transformers.models.Transformer"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"idx": 1,
|
| 10 |
+
"name": "1",
|
| 11 |
+
"path": "1_Pooling",
|
| 12 |
+
"type": "sentence_transformers.models.Pooling"
|
| 13 |
+
}
|
| 14 |
+
]
|
sentence_bert_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_seq_length": 128,
|
| 3 |
+
"do_lower_case": false
|
| 4 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"cls_token": {
|
| 10 |
+
"content": "<s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"eos_token": {
|
| 17 |
+
"content": "</s>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"mask_token": {
|
| 24 |
+
"content": "<mask>",
|
| 25 |
+
"lstrip": true,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
},
|
| 30 |
+
"pad_token": {
|
| 31 |
+
"content": "<pad>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false
|
| 36 |
+
},
|
| 37 |
+
"sep_token": {
|
| 38 |
+
"content": "</s>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false
|
| 43 |
+
},
|
| 44 |
+
"unk_token": {
|
| 45 |
+
"content": "<unk>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false
|
| 50 |
+
}
|
| 51 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cad551d5600a84242d0973327029452a1e3672ba6313c2a3c3d69c4310e12719
|
| 3 |
+
size 17082987
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "<s>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "<pad>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "</s>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"3": {
|
| 28 |
+
"content": "<unk>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"250001": {
|
| 36 |
+
"content": "<mask>",
|
| 37 |
+
"lstrip": true,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"bos_token": "<s>",
|
| 45 |
+
"clean_up_tokenization_spaces": false,
|
| 46 |
+
"cls_token": "<s>",
|
| 47 |
+
"do_lower_case": true,
|
| 48 |
+
"eos_token": "</s>",
|
| 49 |
+
"extra_special_tokens": {},
|
| 50 |
+
"mask_token": "<mask>",
|
| 51 |
+
"max_length": 128,
|
| 52 |
+
"model_max_length": 128,
|
| 53 |
+
"pad_to_multiple_of": null,
|
| 54 |
+
"pad_token": "<pad>",
|
| 55 |
+
"pad_token_type_id": 0,
|
| 56 |
+
"padding_side": "right",
|
| 57 |
+
"sep_token": "</s>",
|
| 58 |
+
"stride": 0,
|
| 59 |
+
"strip_accents": null,
|
| 60 |
+
"tokenize_chinese_chars": true,
|
| 61 |
+
"tokenizer_class": "BertTokenizer",
|
| 62 |
+
"truncation_side": "right",
|
| 63 |
+
"truncation_strategy": "longest_first",
|
| 64 |
+
"unk_token": "<unk>"
|
| 65 |
+
}
|
unigram.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da145b5e7700ae40f16691ec32a0b1fdc1ee3298db22a31ea55f57a966c4a65d
|
| 3 |
+
size 14763260
|