Skip to content

Next word prediction. aims to generate coherent and contextually relevant suggestions for the next word based on the patterns and relationships learned from training data.

License

Notifications You must be signed in to change notification settings

Saeed-Biabani/Next-Word-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Next Word Prediction In Farsi

Next word prediction is a NLP task where a model predicts the most likely word to follow a given sequence of words or context. It aims to generate coherent and contextually relevant suggestions for the next word based on the patterns and relationships learned from training data.

Quick Links

Dependencies

  • Download Pretrained Weights Here

Training

Fig. 2: Model Training History.

Samples

query = ["سرمربی تیم ملی", 19]
string_ = Prediction(query)
print(string_)
# Output : سرمربی تیم ملی وزنهبرداری ایران اکنون از این کشور اعلام کرده است که نشان میدهد که به آن
query = ["این گونه از کرکسها", 5]
string_ = Prediction(query)
print(string_)
# Output : این گونه از کرکسها مانند بسیاری از پرندگان مشابه

🛡️ License

Project is distributed under MIT License

About

Next word prediction. aims to generate coherent and contextually relevant suggestions for the next word based on the patterns and relationships learned from training data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published