Instructions to use itserr/Latin-BERT-W_VULG-S_VL-Synt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use itserr/Latin-BERT-W_VULG-S_VL-Synt with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("itserr/Latin-BERT-W_VULG-S_VL-Synt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 834 Bytes
3a46377 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | {
"_name_or_path": "itserr/Latin-BERT-W_VULG-S_VL-Synt",
"architectures": [
"RetrieverModel"
],
"contrastive_topk": 5,
"embedding_config": {
"_is_latin_bert": true,
"architectures": [
"HfLatinBertModel"
],
"directionality": "bidi",
"model_path": null,
"model_type": "bert",
"pooler_fc_size": 768,
"pooler_num_attention_heads": 12,
"pooler_num_fc_layers": 3,
"pooler_size_per_head": 128,
"pooler_type": "first_token_transform",
"tokenizer_path": "latin-bert/models/subword_tokenizer_latin/latin.subword.encoder",
"torch_dtype": "float32",
"vocab_size": 32900
},
"logit_scale_init_value": 2.6592,
"model_type": "retriever",
"pooling_strategy": "mean",
"sample_contrastive_topk": null,
"torch_dtype": "float32",
"transformers_version": "4.45.2"
}
|