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
Download config.json from itserr/Latin-BERT-W_VULG-S_VL-Synt: direct link, hf CLI and curl.
- Browser
- Download file 834 Bytes
-
https://huggingface.co/itserr/Latin-BERT-W_VULG-S_VL-Synt/resolve/main/config.json
- Command line
-
hf download hf://itserr/Latin-BERT-W_VULG-S_VL-Synt/config.json
-
curl -L -o config.json https://huggingface.co/itserr/Latin-BERT-W_VULG-S_VL-Synt/resolve/main/config.json
834 Bytes
| { | |
| "_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" | |
| } | |