Team Ai
Modelpublic

SRDdev/ScriptForge_Plus

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
1likes32downloads
README.md77 linesDownload Raw Back to root
1---2license: apache-2.03language:4- en5pipeline_tag: text-generation6widget:7- text: 10 Meditation Tips8  example_title: Health Example9- text: Cooking red sauce pasta10  example_title: Cooking Example11- text: Introduction to Keras12  example_title: Technology Example13Tags:14- text-generation15metrics:16- accuracy17---18# ScriptForge_Plus19 20## 🖊️ Model description 21ScriptForge_Plus is a language model trained on a dataset of 5000 YouTube videos that cover different domains of AI.22ScriptForge_Plus is a Causal language transformer. The model resembles the GPT2 architecture, the model is a Causal Language model meaning it predicts the probability of a sequence of words based on the preceding words in the sequence. 23It generates a probability distribution over the next word given the previous words, without incorporating future words.24 25The goal of ScriptForge_Plus is to generate scripts for Youtube videos that are coherent, informative, and engaging. 26This can be useful for content creators who are looking for inspiration or who want to automate the process of generating video scripts. 27To use ScriptForge_Plus, users can provide a prompt or a starting sentence, and the model will generate a sequence of words that follow the context and style of the training data.28 29Models30- [ScriptForge_Plus](https://huggingface.co/SRDdev/ScriptForge_Plus)      : AI content Model31- [ScriptForge-small](https://huggingface.co/SRDdev/ScriptForge-medium) : Generalized Content Model32 33More models are coming soon...34 35## 🛒 Intended uses36The intended uses of ScriptForge_Plus include generating scripts for videos, providing inspiration for content creators, and automating the process of generating video scripts. 37 38 39## 📝 How to use40You can use this model directly with a pipeline for text generation.41 421. __Load Model__43```python44from transformers import AutoTokenizer, AutoModelForCausalLM45 46tokenizer = AutoTokenizer.from_pretrained("SRDdev/ScriptForge_Plus")47model = AutoModelForCausalLM.from_pretrained("SRDdev/ScriptForge_Plus")48```49 502. __Pipeline__51```python52from transformers import pipeline53generator = pipeline('text-generation', model= model , tokenizer=tokenizer)54 55context = "What is Deep Learning"56length_to_generate = 250 57 58script = generator(context, max_length=length_to_generate, do_sample=True)[0]['generated_text']59 60script61```62<p style="opacity: 0.8">The model may generate random information as it is still in beta version</p>63 64## 🎈Limitations and bias65> The model is trained on Youtube Scripts and will work better for that. It may also generate random information and users should be aware of that and cross-validate the results.66 67## Citations68```69@model{70        Name=Shreyas Dixit71        framework=Pytorch72        Year=Jan 202373        Pipeline=text-generation74        Github=https://github.com/SRDdev75        LinkedIn=https://www.linkedin.com/in/srddev76      }77```