leharris3 commited on
Commit
43f4894
·
verified ·
1 Parent(s): 75afa95

Add setup and install instructions to model card

Browse files
Files changed (1) hide show
  1. README.md +15 -1
README.md CHANGED
@@ -34,11 +34,25 @@ Only the trainable parameters (classifier head, gating network, temperature, eps
34
 
35
  ## How to use
36
 
37
- Requires the [FINCH source code](https://github.com/leharris3/birdnoise) and its dependencies.
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
  ```python
40
  from Models import HFStageBModel
41
 
 
42
  model = HFStageBModel.from_pretrained("leharris3/FINCH")
43
  ```
44
 
 
34
 
35
  ## How to use
36
 
37
+ Requires Python 3.10+, [uv](https://docs.astral.sh/uv/), and a HuggingFace account with access to [Meta Llama 3.1 8B Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct) (required by NatureLM-audio).
38
+
39
+ ```bash
40
+ # Clone the repository
41
+ git clone https://github.com/leharris3/birdnoise.git
42
+ cd birdnoise
43
+
44
+ # Install dependencies
45
+ uv sync
46
+ cd NatureLM-audio && uv pip install -r requirements.txt && cd ..
47
+
48
+ # Log in to HuggingFace
49
+ huggingface-cli login
50
+ ```
51
 
52
  ```python
53
  from Models import HFStageBModel
54
 
55
+ # Download weights from the Hub
56
  model = HFStageBModel.from_pretrained("leharris3/FINCH")
57
  ```
58