Instructions to use Anjaan-Khadka/Nepali-Summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Anjaan-Khadka/Nepali-Summarization with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="Anjaan-Khadka/Nepali-Summarization")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Anjaan-Khadka/Nepali-Summarization") model = AutoModelForSeq2SeqLM.from_pretrained("Anjaan-Khadka/Nepali-Summarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download new_sp.model from Anjaan-Khadka/Nepali-Summarization: direct link, hf CLI and curl.
- Browser
- Download file 452 kB
-
https://huggingface.co/Anjaan-Khadka/Nepali-Summarization/resolve/main/new_sp.model
- Command line
-
hf download hf://Anjaan-Khadka/Nepali-Summarization/new_sp.model
-
curl -L -o new_sp.model https://huggingface.co/Anjaan-Khadka/Nepali-Summarization/resolve/main/new_sp.model
452 kB
- Xet hash:
- 876e6fc395976c736d4cca1552ec430ba6b3bb36da5eb583003de02be4f2cc19
- Size of remote file:
- 452 kB
- SHA256:
- 6e310b3657115be7fb48b4d8b5f36485b34fa1788753aabe419f1a82268a85d3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.