Instructions to use latincy/latin-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use latincy/latin-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="latincy/latin-bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("latincy/latin-bert") model = AutoModel.from_pretrained("latincy/latin-bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
bb53c05
1
Parent(s): 73784ba
chore: register pytest slow marker
Browse filesCo-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- pyproject.toml +5 -0
pyproject.toml
CHANGED
|
@@ -21,3 +21,8 @@ build-backend = "hatchling.build"
|
|
| 21 |
|
| 22 |
[tool.hatch.build.targets.wheel]
|
| 23 |
packages = ["src/latincy_latinbert"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
[tool.hatch.build.targets.wheel]
|
| 23 |
packages = ["src/latincy_latinbert"]
|
| 24 |
+
|
| 25 |
+
[tool.pytest.ini_options]
|
| 26 |
+
markers = [
|
| 27 |
+
"slow: marks tests as slow (case study reproductions requiring GPU)",
|
| 28 |
+
]
|