SRDdev commited on
Commit
4f83dc3
1 Parent(s): 9c4b0b4

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -0
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - SRDdev/Youtube-Scripts
5
+ language:
6
+ - en
7
+ pipeline_tag: text-generation
8
+ ---
9
+ # Script_GPT
10
+ ## Model Details
11
+ The Script_GPT is a language model developed using the Hugging Face Transformers library. It is trained on a custom dataset of YouTube scripts and can be used to generate new scripts for YouTube videos.
12
+ The model is based on the GPT architecture and has a total of 117M parameters.
13
+
14
+ ## Intended Use
15
+ The Script_GPT model is intended to be used for generating scripts for YouTube videos. It can be used by content creators, marketers, and other individuals who want to produce high-quality scripts for their YouTube channels.
16
+
17
+ ## Limitations and Bias
18
+ The Script_GPT model is trained on a custom dataset of YouTube scripts, which may not represent all possible types of videos on the platform. As a result, the model may have limitations when generating scripts for certain types of videos.
19
+ Additionally, like all language models, the Script_GPT model may exhibit bias in its outputs based on the biases present in the training data. It is important to review and evaluate the model's outputs to ensure that they are free from bias and harmful content.
20
+
21
+ ## Training Data
22
+ The Script_GPT model was trained on a custom dataset of YouTube scripts, which was collected from a variety of sources, including popular YouTube channels and public scripts available online.
23
+ The dataset consists of only 6 scripts. The scripts are biased towards the Youtuber Ali Abdala.
24
+
25
+ ## How to Use
26
+ _Installation_
27
+ To use the Script_GPT model, you first need to install the Hugging Face Transformers library:
28
+ ```python
29
+ from transformers import AutoTokenizer, AutoModelForCausalLM
30
+
31
+ tokenizer = AutoTokenizer.from_pretrained("SRDdev/Script_GPT")
32
+ model = AutoModelForCausalLM.from_pretrained("SRDdev/Script_GPT")
33
+ ```
34
+
35
+ _Generating Scripts_
36
+ To generate scripts using the Script_GPT model, you can use the following code:
37
+ ```python
38
+ from transformers import pipeline
39
+ generator = pipeline('text-generation', model="SRDdev/Script_GPT",tokenizer="SRDdev/Script_GPT")
40
+ text = generator("Write a Script on Deep Learning ", max_length=1000, do_sample=True)[0]['generated_text']
41
+ print(text)
42
+ ```