Views
No views yet
1from transformers import pipeline
2
3question = "What is the national symbol of India?"
4generator = pipeline("text-generation", model="Sandipan1976/gpt-oss-20b-multilingual-reasoner", device="cuda")
5output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
6print(output["generated_text"])1@misc{vonwerra2022trl,
2 title = {{gpt-oss-multilingual-SFT}},
3 author = {Sandipan Das},
4 year = 2025,
5 journal = {GitHub repository},
6 publisher = {GitHub},
7 howpublished = {\url{https://github.com/huggingface/trl}}
8}