Instructions to use vinai/bertweet-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vinai/bertweet-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="vinai/bertweet-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("vinai/bertweet-large") model = AutoModelForMaskedLM.from_pretrained("vinai/bertweet-large", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from vinai/bertweet-large: direct link, hf CLI and curl.
- Browser
- Download file 1.42 GB
-
https://huggingface.co/vinai/bertweet-large/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://vinai/bertweet-large/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/vinai/bertweet-large/resolve/main/pytorch_model.bin
1.42 GB
- Xet hash:
- 7f510a36142c54cf9fb7262ebcf134519b9f9bc261f03b32a64c48dd9ca0da44
- Size of remote file:
- 1.42 GB
- SHA256:
- 36af147452ccf8846e38283d143efb1e1e003fd28c895008eed78a0a2e47794c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.