Skip to content

Commit 2c81e9c

Browse files
committed
updating Readme
1 parent 631dfdf commit 2c81e9c

File tree

1 file changed

+26
-12
lines changed

1 file changed

+26
-12
lines changed

README.md

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,41 @@ Documentation writing in progress...
55

66
---
77

8-
### Demo & Screenshots
8+
## Demo & Screenshots
9+
10+
---
11+
## Installation
12+
913

10-
### Installation
1114

12-
#### Local
15+
### Hugging Face Token Authentication & LLaMA Access
1316

14-
#### Docker
17+
This project uses **Meta's LLaMA model**, which is **gated** and requires **manual approval** from Hugging Face.
1518

16-
before using install spacy en_core_web_sm
19+
#### **How to Get Access to LLaMA**
20+
1. Visit the [LLaMA Model 3.2-3B Page](https://huggingface.co/meta-llama/Llama-3.2-3B).
21+
2. Click **Request Access** and follow the instructions.
22+
3. Wait for Hugging Face to approve your request.
1723

18-
```python -m spacy download en_core_web_sm```
24+
#### **Using Your Hugging Face Token**
25+
To authenticate, you **must set your Hugging Face token** before running the project.
1926

27+
In the `.env` file in the project root add:
2028

21-
Example for calling csv_to_json.py
29+
```
30+
HUGGING_FACE_HUB_TOKEN=your_huggingface_token
31+
```
32+
---
33+
34+
### Local Installation
2235

23-
```python backend/data-preprocessing/csv_to_json.py -i data/COMMUNICATION/reviews_with_features.csv -o data/COMMUNICATION/features --from 2023-01-01 --to 2023-12-31```
36+
Before using, install the required spaCy model:
37+
```sh
38+
python -m spacy download en_core_web_sm
39+
```
40+
### Docker Installation
2441

25-
Example for calling dendogram_generation.py client
42+
---
2643

27-
```python client/dendogram_generation.py data/COMMUNICATION/all/features_org.telegram.messenger.json```
2844

29-
Example for calling visualizator.py client
3045

31-
```python client/dendogram_generation.py ./data/COMMUNICATION/all/features_com.discord.json bert-embedding-cosine average 0.2```

0 commit comments

Comments
 (0)