Locutusque commited on
Commit
1cad434
Β·
verified Β·
1 Parent(s): f47aa49

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +39 -1
README.md CHANGED
@@ -8,5 +8,43 @@ sdk_version: 5.44.1
8
  app_file: app.py
9
  pinned: false
10
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
8
  app_file: app.py
9
  pinned: false
10
  ---
11
+ ---
12
+ title: Locutusque Models
13
+ emoji: 🌲
14
+ colorFrom: green
15
+ colorTo: blue
16
+ sdk: gradio
17
+ sdk_version: 4.29.0
18
+ app_file: app.py
19
+ pinned: false
20
+ license: apache-2.0
21
+ ---
22
+
23
+ # LLM Forest Orchestra β€” Hugging Face Space (Gradio)
24
+
25
+ This Space turns transformer **hidden states** and **attentions** into a layered **MIDI composition**.
26
+
27
+ ## Features
28
+ - Two compute modes:
29
+ - **Full model**: loads a base HF model (default: `unsloth/Qwen3-14B-Base`) and extracts internals.
30
+ - **Mock latents**: fast CPU-friendly demo mode that synthesizes tensors to preview the music system.
31
+ - Musical controls: scale selection (with custom notes), ticks-per-beat grid, velocity range, and instrument/role presets.
32
+ - Exports a `.mid` file you can drop into any DAW.
33
+
34
+ ## Files
35
+ - `app.py` β€” Gradio app entry.
36
+ - `requirements.txt` β€” Python deps.
37
+ - `README.md` β€” You are here.
38
+
39
+ ## Hardware / tips
40
+ - `unsloth/Qwen3-14B-Base` is **large**. On CPU-only Spaces, use **Mock latents**. For Full model, pick a smaller base or provision a GPU Space.
41
+ - Models must support `output_hidden_states=True` and `output_attentions=True`.
42
+ - MIDI channels are limited to 16; the UI caps layers at 6 for headroom.
43
 
44
+ ## Inspiration
45
+ This project is inspired by the way **mushrooms and mycelial networks in forests**
46
+ connect plants and trees, forming a living web of communication and resource sharing.
47
+ These connections, can be turned into ethereal music.
48
+ Just as signals move through these hidden connections, transformer models also
49
+ pass hidden states and attentions across their layers. Here, those hidden
50
+ connections are translated into **music**, analogous to the forest's secret orchestra.