Spaces:
Runtime error
Runtime error
adding instructions
Browse files
app.py
CHANGED
@@ -13,8 +13,10 @@ title = """# 🙋🏻♂️Welcome to Tonic's🪨Granite Code ! """
|
|
13 |
description = """Granite-8B-Code-Instruct is a 8B parameter model fine tuned from Granite-8B-Code-Base on a combination of permissively licensed instruction data to enhance instruction following capabilities including logical reasoning and problem-solving skills.
|
14 |
### Join us :
|
15 |
TeamTonic is always making cool demos! Join our active builder's community on Discord: [Discord](https://discord.gg/GWpVpekp) On Huggingface: [TeamTonic](https://huggingface.co/TeamTonic) & [MultiTransformer](https://huggingface.co/MultiTransformer) On Github: [Polytonic](https://github.com/tonic-ai) & contribute to [multitonic](https://github.com/multitonic/multitonic)
|
16 |
-
"""
|
17 |
|
|
|
|
|
|
|
18 |
# Define the device and model path
|
19 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
20 |
model_path = "ibm-granite/granite-8b-code-instruct"
|
|
|
13 |
description = """Granite-8B-Code-Instruct is a 8B parameter model fine tuned from Granite-8B-Code-Base on a combination of permissively licensed instruction data to enhance instruction following capabilities including logical reasoning and problem-solving skills.
|
14 |
### Join us :
|
15 |
TeamTonic is always making cool demos! Join our active builder's community on Discord: [Discord](https://discord.gg/GWpVpekp) On Huggingface: [TeamTonic](https://huggingface.co/TeamTonic) & [MultiTransformer](https://huggingface.co/MultiTransformer) On Github: [Polytonic](https://github.com/tonic-ai) & contribute to [multitonic](https://github.com/multitonic/multitonic)
|
|
|
16 |
|
17 |
+
### How To Use :
|
18 |
+
Add a new line to the example and at the end of your prompts 🚀
|
19 |
+
"""
|
20 |
# Define the device and model path
|
21 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
22 |
model_path = "ibm-granite/granite-8b-code-instruct"
|