Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import spaces
|
|
| 3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 4 |
import torch
|
| 5 |
|
| 6 |
-
model_name = "rubenroy/Zurich-7b-GCv2-
|
| 7 |
model = AutoModelForCausalLM.from_pretrained(
|
| 8 |
model_name,
|
| 9 |
torch_dtype=torch.bfloat16,
|
|
@@ -85,10 +85,10 @@ TITLE_HTML = """
|
|
| 85 |
<div style="display: flex; align-items: center; justify-content: center; gap: 1rem;">
|
| 86 |
<h1 style="font-size: 2.5rem; font-weight: 800; margin: 0; background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">Zurich</h1>
|
| 87 |
<div style="width: 2px; height: 2.5rem; background: linear-gradient(180deg, #3b82f6 0%, #60a5fa 100%);"></div>
|
| 88 |
-
<p style="font-size: 1.25rem; color: #94a3b8; margin: 0;">GammaCorpus v2-
|
| 89 |
</div>
|
| 90 |
<div class="info-section">
|
| 91 |
-
<span>Fine-tuned from <a href="https://huggingface.co/Qwen/Qwen2.5-7B-Instruct" class="info-link">Qwen 2.5 7B Instruct</a> | Model: <a href="https://huggingface.co/rubenroy/Zurich-7b-GCv2-
|
| 92 |
</div>
|
| 93 |
</div>
|
| 94 |
|
|
|
|
| 3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 4 |
import torch
|
| 5 |
|
| 6 |
+
model_name = "rubenroy/Zurich-7b-GCv2-1m"
|
| 7 |
model = AutoModelForCausalLM.from_pretrained(
|
| 8 |
model_name,
|
| 9 |
torch_dtype=torch.bfloat16,
|
|
|
|
| 85 |
<div style="display: flex; align-items: center; justify-content: center; gap: 1rem;">
|
| 86 |
<h1 style="font-size: 2.5rem; font-weight: 800; margin: 0; background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">Zurich</h1>
|
| 87 |
<div style="width: 2px; height: 2.5rem; background: linear-gradient(180deg, #3b82f6 0%, #60a5fa 100%);"></div>
|
| 88 |
+
<p style="font-size: 1.25rem; color: #94a3b8; margin: 0;">GammaCorpus v2-1m</p>
|
| 89 |
</div>
|
| 90 |
<div class="info-section">
|
| 91 |
+
<span>Fine-tuned from <a href="https://huggingface.co/Qwen/Qwen2.5-7B-Instruct" class="info-link">Qwen 2.5 7B Instruct</a> | Model: <a href="https://huggingface.co/rubenroy/Zurich-7b-GCv2-1m" class="info-link">Zurich-7b-GCv2-1m</a> | Training Dataset: <a href="https://huggingface.co/datasets/rubenroy/GammaCorpus-v2-1m" class="info-link">GammaCorpus v2 1m</a></span>
|
| 92 |
</div>
|
| 93 |
</div>
|
| 94 |
|