Instructions to use maastrichtlawtech/legal-distilcamembert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maastrichtlawtech/legal-distilcamembert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="maastrichtlawtech/legal-distilcamembert")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("maastrichtlawtech/legal-distilcamembert") model = AutoModelForMaskedLM.from_pretrained("maastrichtlawtech/legal-distilcamembert") - Notebooks
- Google Colab
- Kaggle
Commit ·
71db7e7
1
Parent(s): 594bc49
Adding `safetensors` variant of this model (#2)
Browse files- Adding `safetensors` variant of this model (3c4fd60a2a168144840de36caa0eb0225df510ea)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2349d0f2bceef4b7396f928e2b4b5c34d83c7feb67b5e53afce9aac787b5c16c
|
| 3 |
+
size 272529844
|