Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- Gemopus-v1-e2b-lora.gguf +3 -0
- NOTICE.txt +5 -0
- README.md +76 -0
- RUN_LOCALLY.md +21 -0
- upload_to_huggingface.ps1 +50 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Gemopus-v1-e2b-lora.gguf filter=lfs diff=lfs merge=lfs -text
|
Gemopus-v1-e2b-lora.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c6a2f3ff523f9563ed229c7dd5506f8aeb3ed8ddc79f9e3fafdbfbde3c7767d
|
| 3 |
+
size 5371936
|
NOTICE.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Gemopus v1 checkpoint-400 is a LoRA adapter fine-tuned from google/gemma-4-E2B-it.
|
| 2 |
+
|
| 3 |
+
The base model google/gemma-4-E2B-it is licensed under Apache-2.0.
|
| 4 |
+
|
| 5 |
+
This repository does not include the base model weights. To use this adapter, load it together with a compatible Gemma 4 E2B GGUF base model.
|
README.md
CHANGED
|
@@ -1,3 +1,79 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
base_model: google/gemma-4-E2B-it
|
| 4 |
+
library_name: llama.cpp
|
| 5 |
+
pipeline_tag: text-generation
|
| 6 |
+
tags:
|
| 7 |
+
- gguf
|
| 8 |
+
- lora
|
| 9 |
+
- adapter
|
| 10 |
+
- gemma4
|
| 11 |
+
- text-generation
|
| 12 |
+
- coding
|
| 13 |
---
|
| 14 |
+
|
| 15 |
+
# Gemopus v1 checkpoint-400 GGUF LoRA
|
| 16 |
+
|
| 17 |
+
Gemopus v1 checkpoint-400 is a GGUF LoRA adapter trained by Disc View / Disc Labs.
|
| 18 |
+
|
| 19 |
+
This repo contains the checkpoint-400 LoRA adapter only:
|
| 20 |
+
|
| 21 |
+
```text
|
| 22 |
+
Gemopus-v1-e2b-lora.gguf
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
It is not a standalone full model. To run it, load it together with the base model GGUF.
|
| 26 |
+
|
| 27 |
+
## Base Model
|
| 28 |
+
|
| 29 |
+
Base architecture/model family:
|
| 30 |
+
|
| 31 |
+
```text
|
| 32 |
+
google/gemma-4-E2B-it
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
Recommended local GGUF base file:
|
| 36 |
+
|
| 37 |
+
```text
|
| 38 |
+
gemma-4-E2B-it-Q4_K_M.gguf
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
## Identity
|
| 42 |
+
|
| 43 |
+
Gemopus v1 is a Gemma-based model fine-tuned toward a helpful, structured, Claude-like assistant style. It is not Claude, not Anthropic, and not a standalone model without the base model.
|
| 44 |
+
|
| 45 |
+
Suggested system prompt:
|
| 46 |
+
|
| 47 |
+
```text
|
| 48 |
+
You are Gemopus v1 by Disc View / Disc Labs, a Gemma-based model fine-tuned toward a Claude-like helpful, structured assistant style. Be helpful, accurate, clear, and strong at coding.
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
## llama.cpp Usage
|
| 52 |
+
|
| 53 |
+
Example:
|
| 54 |
+
|
| 55 |
+
```bash
|
| 56 |
+
llama-server \
|
| 57 |
+
--model gemma-4-E2B-it-Q4_K_M.gguf \
|
| 58 |
+
--lora Gemopus-v1-e2b-lora.gguf \
|
| 59 |
+
--alias gemopus-v1-e2b-lora \
|
| 60 |
+
--ctx-size 4096
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
Then call the OpenAI-compatible endpoint:
|
| 64 |
+
|
| 65 |
+
```text
|
| 66 |
+
http://127.0.0.1:8080/v1/chat/completions
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
## Important
|
| 70 |
+
|
| 71 |
+
If the model answers that it is stock Gemma or trained by Google, then the LoRA adapter is not attached. Make sure both files are loaded together:
|
| 72 |
+
|
| 73 |
+
```text
|
| 74 |
+
base GGUF + Gemopus-v1-e2b-lora.gguf
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
## Training Notes
|
| 78 |
+
|
| 79 |
+
This is a LoRA fine-tune checkpoint exported to GGUF adapter format. It was trained as Gemopus v1 checkpoint-400 with a focus on clearer instruction following, coding help, and structured answers.
|
RUN_LOCALLY.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Run Gemopus v1 checkpoint-400 locally
|
| 2 |
+
|
| 3 |
+
This repo is a GGUF LoRA adapter. Use it with a compatible Gemma 4 E2B GGUF base model.
|
| 4 |
+
|
| 5 |
+
Example with llama.cpp:
|
| 6 |
+
|
| 7 |
+
```bash
|
| 8 |
+
llama-server --model gemma-4-E2B-it-Q4_K_M.gguf --lora Gemopus-v1-e2b-lora.gguf --alias gemopus-v1-e2b-lora --ctx-size 4096
|
| 9 |
+
```
|
| 10 |
+
|
| 11 |
+
Test prompt:
|
| 12 |
+
|
| 13 |
+
```text
|
| 14 |
+
Who are you, what base are you based on, and are you using checkpoint-400?
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
Expected kind of answer:
|
| 18 |
+
|
| 19 |
+
```text
|
| 20 |
+
I am Gemopus v1 by Disc View / Disc Labs, a Gemma-based model fine-tuned toward a Claude-like assistant style.
|
| 21 |
+
```
|
upload_to_huggingface.ps1
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
param(
|
| 2 |
+
[Parameter(Mandatory = $true)]
|
| 3 |
+
[string]$RepoId,
|
| 4 |
+
|
| 5 |
+
[string]$Token = ""
|
| 6 |
+
)
|
| 7 |
+
|
| 8 |
+
$ErrorActionPreference = "Stop"
|
| 9 |
+
|
| 10 |
+
Write-Host "This uploads the GGUF LoRA adapter repo to Hugging Face:" -ForegroundColor Cyan
|
| 11 |
+
Write-Host $RepoId -ForegroundColor Yellow
|
| 12 |
+
Write-Host ""
|
| 13 |
+
Write-Host "Important: this is an adapter repo, not a standalone merged full model." -ForegroundColor Yellow
|
| 14 |
+
Write-Host ""
|
| 15 |
+
|
| 16 |
+
if (-not (Get-Command hf -ErrorAction SilentlyContinue)) {
|
| 17 |
+
$hfFromPython = Join-Path $env:LOCALAPPDATA "Python\pythoncore-3.14-64\Scripts\hf.exe"
|
| 18 |
+
if (Test-Path -LiteralPath $hfFromPython) {
|
| 19 |
+
$script:HfCli = $hfFromPython
|
| 20 |
+
}
|
| 21 |
+
else {
|
| 22 |
+
$script:HfCli = "hf"
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
else {
|
| 26 |
+
$script:HfCli = "hf"
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
if (-not (Get-Command $script:HfCli -ErrorAction SilentlyContinue) -and -not (Test-Path -LiteralPath $script:HfCli)) {
|
| 30 |
+
Write-Host "Installing huggingface_hub..." -ForegroundColor Cyan
|
| 31 |
+
py -m pip install -U huggingface_hub
|
| 32 |
+
$script:HfCli = Join-Path $env:LOCALAPPDATA "Python\pythoncore-3.14-64\Scripts\hf.exe"
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
if ($Token) {
|
| 36 |
+
$tokenArgs = @("--token", $Token)
|
| 37 |
+
}
|
| 38 |
+
else {
|
| 39 |
+
$tokenArgs = @()
|
| 40 |
+
Write-Host "If upload fails with 403, create a Hugging Face token with WRITE access and rerun with -Token YOUR_TOKEN." -ForegroundColor Yellow
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
Write-Host "Creating repo if needed..." -ForegroundColor Cyan
|
| 44 |
+
& $script:HfCli repo create $RepoId --type model --public --exist-ok @tokenArgs
|
| 45 |
+
|
| 46 |
+
Write-Host "Uploading files..." -ForegroundColor Cyan
|
| 47 |
+
& $script:HfCli upload $RepoId . . --repo-type model @tokenArgs
|
| 48 |
+
|
| 49 |
+
Write-Host "Done. Repo uploaded:" -ForegroundColor Green
|
| 50 |
+
Write-Host "https://huggingface.co/$RepoId"
|