Run this model with HF Jobs
Run Fujitsu/pytorrent on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Fujitsu/pytorrent. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Fujitsu/pytorrent on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Fujitsu/pytorrent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Fujitsu/pytorrent with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Fujitsu/pytorrent")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Fujitsu/pytorrent") model = AutoModel.from_pretrained("Fujitsu/pytorrent", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files23 unmodified lines242526272829302 unmodified lines33343536373823 unmodified linesmodel = AutoModel.from_pretrained("Fujitsu/pytorrent")```## CitationPreprint: [https://arxiv.org/abs/2110.01710](https://arxiv.org/abs/2110.01710)```@misc{bahrami2021pytorrent,title={PyTorrent: A Python Library Corpus for Large-scale Language Models},2 unmodified lineseprint={2110.01710},archivePrefix={arXiv},primaryClass={cs.SE},howpublished={https://arxiv.org/abs/2110.01710},}```23 unmodified lines242526272829302 unmodified lines33343536373823 unmodified linesmodel = AutoModel.from_pretrained("Fujitsu/pytorrent")```## CitationPreprint: [https://arxiv.org/pdf/2110.01710.pdf](https://arxiv.org/pdf/2110.01710.pdf)```@misc{bahrami2021pytorrent,title={PyTorrent: A Python Library Corpus for Large-scale Language Models},2 unmodified lineseprint={2110.01710},archivePrefix={arXiv},primaryClass={cs.SE},howpublished={https://arxiv.org/pdf/2110.01710},}```
README.md+2-2