Spaces:
Runtime error
Runtime error
thepolymerguy
commited on
Commit
•
fa485ee
1
Parent(s):
38098e8
Update app.py
Browse files
app.py
CHANGED
@@ -15,9 +15,15 @@ def bot(history):
|
|
15 |
|
16 |
"""
|
17 |
|
18 |
-
Alpaca model trained: example (n.b. can upload mine as a HF model to load from?)
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
"""
|
|
|
21 |
'''
|
22 |
from peft import PeftModel
|
23 |
from transformers import LLaMATokenizer, LLaMAForCausalLM, GenerationConfig
|
@@ -89,7 +95,7 @@ theme = gr.themes.Base(
|
|
89 |
with gr.Blocks(title='Claimed', theme=theme) as demo:
|
90 |
|
91 |
gr.Markdown("""
|
92 |
-
|
93 |
|
94 |
Hey there, genius!
|
95 |
|
|
|
15 |
|
16 |
"""
|
17 |
|
18 |
+
Alpaca model trained: example (n.b. can upload mine as a HF model to load from?):
|
19 |
+
Required:
|
20 |
+
!pip install -q datasets loralib sentencepiece
|
21 |
+
!pip install -q git+https://github.com/zphang/transformers@c3dc391
|
22 |
+
!pip install -q git+https://github.com/huggingface/peft.git
|
23 |
+
!pip install bitsandbytes
|
24 |
|
25 |
"""
|
26 |
+
|
27 |
'''
|
28 |
from peft import PeftModel
|
29 |
from transformers import LLaMATokenizer, LLaMAForCausalLM, GenerationConfig
|
|
|
95 |
with gr.Blocks(title='Claimed', theme=theme) as demo:
|
96 |
|
97 |
gr.Markdown("""
|
98 |
+
## CLAIMED - A GENERATIVE TOOLKIT FOR PATENT ATTORNEYS 🫡
|
99 |
|
100 |
Hey there, genius!
|
101 |
|