real-jiakai commited on
Commit
77704eb
·
verified ·
1 Parent(s): 2f169e3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -22
README.md CHANGED
@@ -17,28 +17,6 @@ This is a fine-tuned version of the [unsloth/llama-3-8b-Instruct-bnb-4bit](https
17
 
18
  - **Repository:** [GitHub - hiyouga/LLaMA-Factory](https://github.com/hiyouga/LLaMA-Factory)
19
 
20
- ## How to Get Started with the Model
21
-
22
- ```python
23
- # Import the pipeline function from transformers
24
- from transformers import pipeline
25
-
26
- # Create a text-generation pipeline with the specified model
27
- generator = pipeline('text-generation', model="real-jiakai/Meta-Llama-3-8B-Instruct-Jiakai")
28
-
29
- # Prepare the input text
30
- input_text = "What's your name?"
31
-
32
- # Generate text using the pipeline
33
- # max_length controls the maximum length of the generated text
34
- # num_return_sequences specifies how many different sequences to generate
35
- response = generator(input_text, max_length=50, num_return_sequences=1)
36
-
37
- # Print the generated response
38
- # The generated text is accessed from the first (and only) sequence, and the 'generated_text' key
39
- print(response[0]['generated_text'])
40
- ```
41
-
42
  ## License
43
 
44
  This model is licensed under the [MIT](https://opensource.org/license/mit) License.
 
17
 
18
  - **Repository:** [GitHub - hiyouga/LLaMA-Factory](https://github.com/hiyouga/LLaMA-Factory)
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  ## License
21
 
22
  This model is licensed under the [MIT](https://opensource.org/license/mit) License.