Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ title = """
|
|
11 |
Join us : 🌟TeamTonic🌟 is always making cool demos! Join our active builder's 🛠️community 👻 [![Join us on Discord](https://img.shields.io/discord/1109943800132010065?label=Discord&logo=discord&style=flat-square)](https://discord.gg/GWpVpekp) On 🤗Huggingface:[MultiTransformer](https://huggingface.co/MultiTransformer) Math 🔍 [introspector](https://huggingface.co/introspector) On 🌐Github: [Tonic-AI](https://github.com/tonic-ai) & contribute to🌟 [Torchon](https://github.com/Tonic-AI/Torchon)🤗Big thanks to Yuvi Sharma and all the folks at huggingface for the community grant 🤗
|
12 |
"""
|
13 |
|
14 |
-
bnb_config = BitsAndBytesConfig(
|
15 |
|
16 |
model_id = "CohereForAI/c4ai-command-r-v01"
|
17 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
|
|
11 |
Join us : 🌟TeamTonic🌟 is always making cool demos! Join our active builder's 🛠️community 👻 [![Join us on Discord](https://img.shields.io/discord/1109943800132010065?label=Discord&logo=discord&style=flat-square)](https://discord.gg/GWpVpekp) On 🤗Huggingface:[MultiTransformer](https://huggingface.co/MultiTransformer) Math 🔍 [introspector](https://huggingface.co/introspector) On 🌐Github: [Tonic-AI](https://github.com/tonic-ai) & contribute to🌟 [Torchon](https://github.com/Tonic-AI/Torchon)🤗Big thanks to Yuvi Sharma and all the folks at huggingface for the community grant 🤗
|
12 |
"""
|
13 |
|
14 |
+
bnb_config = BitsAndBytesConfig(load_in_4bit=True)
|
15 |
|
16 |
model_id = "CohereForAI/c4ai-command-r-v01"
|
17 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|