Instructions to use KamrusSamad/tiny2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KamrusSamad/tiny2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="KamrusSamad/tiny2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("KamrusSamad/tiny2") model = AutoModelForMaskedLM.from_pretrained("KamrusSamad/tiny2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from KamrusSamad/tiny2: direct link, hf CLI and curl.
- Browser
- Download file 17.7 MB
-
https://huggingface.co/KamrusSamad/tiny2/resolve/refs%2Fpr%2F1/pytorch_model.bin
- Command line
-
hf download hf://KamrusSamad/tiny2@refs/pr/1/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/KamrusSamad/tiny2/resolve/refs%2Fpr%2F1/pytorch_model.bin
17.7 MB
- Xet hash:
- aaf5ad6f1ab34c63227f7eb02807f6c5b46641ef1d260c32ad6fb73c21a8fb33
- Size of remote file:
- 17.7 MB
- SHA256:
- 4d6dd0437166a13d1b42d036c9ca755eb2381b2416f9fb1663314d5753c9af45
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.