arkanbima commited on
Commit
838e87e
1 Parent(s): 6b5615b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -23,7 +23,12 @@ For best results, use around 3-6 tags that clearly represent the core themes or
23
  ```
24
 
25
  ## Usage Example:
26
- ```
 
 
 
 
 
27
  template="""[[tag]]
28
  {}
29
 
@@ -80,6 +85,7 @@ Bertemu dengan orang-orang dan masa kecilnya membawa keajaiban ke hidupnya. Dia
80
 
81
  Dan begitulah kisah Billie Eilish, gadis yang menemukan rumahnya di kampung halamannya sendiri.
82
 
 
83
  ## Disclaimer:
84
 
85
  This model may sometimes generate outputs that are factually incorrect, biased, or offensive. Users should critically evaluate the generated content. The model's performance may vary depending on the provided tags and the complexity of the desired story.
 
23
  ```
24
 
25
  ## Usage Example:
26
+ ```python
27
+ from transformers import AutoTokenizer, AutoModelForCausalLM
28
+
29
+ tokenizer = AutoTokenizer.from_pretrained("Obrolin/Cerpen-7B-v0.1", trust_remote_code=True)
30
+ model = AutoModelForCausalLM.from_pretrained("Obrolin/Cerpen-7B-v0.1", trust_remote_code=True)
31
+
32
  template="""[[tag]]
33
  {}
34
 
 
85
 
86
  Dan begitulah kisah Billie Eilish, gadis yang menemukan rumahnya di kampung halamannya sendiri.
87
 
88
+
89
  ## Disclaimer:
90
 
91
  This model may sometimes generate outputs that are factually incorrect, biased, or offensive. Users should critically evaluate the generated content. The model's performance may vary depending on the provided tags and the complexity of the desired story.