Files
bhagvad_gita/README.md
ModelHub XC e43054f566 初始化项目,由ModelHub XC社区提供模型
Model: epsil/bhagvad_gita
Source: Original Platform
2026-07-30 18:15:32 +08:00

862 B

This is fine-tuned model on Bhagvad Gita and creates text based on prompts. Example of usage:

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("epsil/bhagvad_gita")

model = AutoModelForCausalLM.from_pretrained("epsil/bhagvad_gita")

Input

from transformers import pipeline

pipeline = pipeline('text-generation',model=model, tokenizer=tokenizer)

result = samples('Krishna show me the right path')[0]['generated_text']
print(result)

Output

Krishna show me the right path, and I also to remember the lessons, and to remember them right.

Sama! in His Day, and by Thy own Eternal Grace.

A man like that who shall come to us

Created by Saurabh Mishra

Made with in India