godlykmathews commited on
Commit
db8a63f
·
verified ·
1 Parent(s): 7fc2011

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +22 -0
  2. .gitignore +34 -0
  3. README.md +75 -3
  4. Report.pdf +3 -0
  5. app.py +92 -0
  6. bert-sentiment-model/config.json +41 -0
  7. bert-sentiment-model/tokenizer.json +0 -0
  8. bert-sentiment-model/tokenizer_config.json +15 -0
  9. bert-sentiment-model/training_args.bin +3 -0
  10. notebooks/train_bert.ipynb +0 -0
  11. requirements.txt +3 -0
  12. venv/.gitignore +2 -0
  13. venv/bin/Activate.ps1 +248 -0
  14. venv/bin/activate +76 -0
  15. venv/bin/activate.csh +29 -0
  16. venv/bin/activate.fish +69 -0
  17. venv/bin/f2py +6 -0
  18. venv/bin/hf +6 -0
  19. venv/bin/httpx +6 -0
  20. venv/bin/huggingface-cli +6 -0
  21. venv/bin/idna +6 -0
  22. venv/bin/isympy +6 -0
  23. venv/bin/jsonschema +6 -0
  24. venv/bin/markdown-it +6 -0
  25. venv/bin/normalizer +6 -0
  26. venv/bin/numpy-config +6 -0
  27. venv/bin/pip +6 -0
  28. venv/bin/pip3 +6 -0
  29. venv/bin/pip3.14 +6 -0
  30. venv/bin/pygmentize +6 -0
  31. venv/bin/python +3 -0
  32. venv/bin/python3 +3 -0
  33. venv/bin/python3.14 +3 -0
  34. venv/bin/streamlit +6 -0
  35. venv/bin/tiny-agents +6 -0
  36. venv/bin/torchfrtrace +6 -0
  37. venv/bin/torchrun +6 -0
  38. venv/bin/tqdm +6 -0
  39. venv/bin/transformers +6 -0
  40. venv/bin/typer +6 -0
  41. venv/bin/uvicorn +6 -0
  42. venv/bin/websockets +6 -0
  43. venv/bin/𝜋thon +3 -0
  44. venv/etc/jupyter/nbconfig/notebook.d/pydeck.json +5 -0
  45. venv/lib/python3.14/site-packages/PIL/.dylibs/libXau.6.dylib +0 -0
  46. venv/lib/python3.14/site-packages/PIL/.dylibs/libavif.16.4.2.dylib +3 -0
  47. venv/lib/python3.14/site-packages/PIL/.dylibs/libbrotlicommon.1.2.0.dylib +3 -0
  48. venv/lib/python3.14/site-packages/PIL/.dylibs/libbrotlidec.1.2.0.dylib +3 -0
  49. venv/lib/python3.14/site-packages/PIL/.dylibs/libfreetype.6.dylib +3 -0
  50. venv/lib/python3.14/site-packages/PIL/.dylibs/libharfbuzz.0.dylib +3 -0
.gitattributes CHANGED
@@ -33,3 +33,25 @@ 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
+ Report.pdf filter=lfs diff=lfs merge=lfs -text
37
+ venv/bin/python filter=lfs diff=lfs merge=lfs -text
38
+ venv/bin/python3 filter=lfs diff=lfs merge=lfs -text
39
+ venv/bin/python3.14 filter=lfs diff=lfs merge=lfs -text
40
+ venv/bin/𝜋thon filter=lfs diff=lfs merge=lfs -text
41
+ venv/lib/python3.14/site-packages/PIL/.dylibs/libavif.16.4.2.dylib filter=lfs diff=lfs merge=lfs -text
42
+ venv/lib/python3.14/site-packages/PIL/.dylibs/libbrotlicommon.1.2.0.dylib filter=lfs diff=lfs merge=lfs -text
43
+ venv/lib/python3.14/site-packages/PIL/.dylibs/libbrotlidec.1.2.0.dylib filter=lfs diff=lfs merge=lfs -text
44
+ venv/lib/python3.14/site-packages/PIL/.dylibs/libfreetype.6.dylib filter=lfs diff=lfs merge=lfs -text
45
+ venv/lib/python3.14/site-packages/PIL/.dylibs/libharfbuzz.0.dylib filter=lfs diff=lfs merge=lfs -text
46
+ venv/lib/python3.14/site-packages/PIL/.dylibs/libjpeg.62.4.0.dylib filter=lfs diff=lfs merge=lfs -text
47
+ venv/lib/python3.14/site-packages/PIL/.dylibs/liblcms2.2.dylib filter=lfs diff=lfs merge=lfs -text
48
+ venv/lib/python3.14/site-packages/PIL/.dylibs/liblzma.5.dylib filter=lfs diff=lfs merge=lfs -text
49
+ venv/lib/python3.14/site-packages/PIL/.dylibs/libopenjp2.2.5.4.dylib filter=lfs diff=lfs merge=lfs -text
50
+ venv/lib/python3.14/site-packages/PIL/.dylibs/libpng16.16.dylib filter=lfs diff=lfs merge=lfs -text
51
+ venv/lib/python3.14/site-packages/PIL/.dylibs/libtiff.6.dylib filter=lfs diff=lfs merge=lfs -text
52
+ venv/lib/python3.14/site-packages/PIL/.dylibs/libwebp.7.dylib filter=lfs diff=lfs merge=lfs -text
53
+ venv/lib/python3.14/site-packages/PIL/.dylibs/libwebpmux.3.dylib filter=lfs diff=lfs merge=lfs -text
54
+ venv/lib/python3.14/site-packages/PIL/.dylibs/libxcb.1.1.0.dylib filter=lfs diff=lfs merge=lfs -text
55
+ venv/lib/python3.14/site-packages/PIL/.dylibs/libz.1.3.1.zlib-ng.dylib filter=lfs diff=lfs merge=lfs -text
56
+ venv/lib/python3.14/site-packages/PIL/_imaging.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
57
+ venv/lib/python3.14/site-packages/PIL/_imagingft.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
.gitignore ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Python environments and caches
2
+ .venv/
3
+ venv/
4
+ env/
5
+ __pycache__/
6
+ *.py[cod]
7
+ *.egg-info/
8
+ .pytest_cache/
9
+ .ipynb_checkpoints/
10
+
11
+ # Local secrets
12
+ .env
13
+ .env.*
14
+ !.env.example
15
+ .streamlit/secrets.toml
16
+
17
+ # Model files and training outputs
18
+ bert-sentiment-model/
19
+ bert_sentiment_model/
20
+ bert_checkpoints/
21
+ checkpoint-*/
22
+ outputs/
23
+ runs/
24
+ wandb/
25
+ *.safetensors
26
+ *.pt
27
+ *.pth
28
+ *.ckpt
29
+ *.zip
30
+ *.log
31
+
32
+ # Operating system files
33
+ .DS_Store
34
+ Thumbs.db
README.md CHANGED
@@ -1,3 +1,75 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BERT Sentiment Classifier
2
+
3
+ A Streamlit app that classifies reviews as **Negative**, **Neutral**, or **Positive** using a fine-tuned BERT model. It displays the predicted sentiment and probabilities for all three classes.
4
+
5
+ ## Setup
6
+
7
+ The app was checked with Python 3.14 and the package versions in `requirements.txt`.
8
+
9
+ ```bash
10
+ python3.14 -m venv .venv
11
+ source .venv/bin/activate
12
+ python -m pip install -r requirements.txt
13
+ ```
14
+
15
+ `requirements.txt` contains only the app's dependencies. The training notebook installs its own dependencies in its first cell.
16
+
17
+ ## Model files
18
+
19
+ Run the model-saving cell in [notebooks/train_bert.ipynb](notebooks/train_bert.ipynb). If training in Colab, download the entire saved model directory and extract it locally.
20
+
21
+ The notebook saves a folder named `bert_sentiment_model`. **Rename it to `bert-sentiment-model`** to match the app's current model path, then place it beside `app.py`:
22
+
23
+ ```text
24
+ bert-sentimentclassifier/
25
+ ├── app.py
26
+ ├── requirements.txt
27
+ ├── notebooks/
28
+ │ └── train_bert.ipynb
29
+ └── bert-sentiment-model/
30
+ ├── config.json
31
+ ├── model.safetensors
32
+ ├── tokenizer.json
33
+ └── tokenizer_config.json
34
+ ```
35
+
36
+ The app also accepts `notebooks/bert-sentiment-model/`. Keep all files produced by the model-saving cell. The app loads local files and does not download a model automatically.
37
+
38
+ Model directories and training outputs are ignored by Git. Model files already committed remain tracked; `.gitignore` does not remove them from Git history.
39
+
40
+ ## Run
41
+
42
+ From the project directory, with the virtual environment activated:
43
+
44
+ ```bash
45
+ python -m streamlit run app.py
46
+ ```
47
+
48
+ Open the local URL printed in the terminal, enter a review, and click **Analyze**. The app uses CPU inference and analyzes up to 128 tokens per review.
49
+
50
+ ## Training
51
+
52
+ The notebook fine-tunes [`google-bert/bert-base-uncased`](https://huggingface.co/google-bert/bert-base-uncased) with PyTorch and Hugging Face Transformers on [`Yelp/yelp_review_full`](https://huggingface.co/datasets/Yelp/yelp_review_full).
53
+
54
+ | Yelp rating | Sentiment |
55
+ |---|---|
56
+ | 1–2 stars | Negative |
57
+ | 3 stars | Neutral |
58
+ | 4–5 stars | Positive |
59
+
60
+ Three-star reviews serve as a neutral proxy and can contain mixed opinions.
61
+
62
+ The notebook uses 15,000 training reviews, 1,500 validation reviews, and 3,000 test reviews. Training and validation come from the official training split; test reviews come from the official test split. It trains for three epochs and selects the checkpoint with the best validation macro F1.
63
+
64
+ ## Results
65
+
66
+ Results recorded in the executed notebook on the held-out test sample:
67
+
68
+ | Metric | Value |
69
+ |---|---:|
70
+ | Accuracy | 77.40% |
71
+ | Macro precision | 0.7281 |
72
+ | Macro recall | 0.7275 |
73
+ | Macro F1 | 0.7278 |
74
+
75
+ The notebook includes the per-class metrics and confusion matrix. Neutral was the weakest class, with an F1 of 0.4996. These results describe the Yelp test sample; class probabilities are not calibrated guarantees of correctness.
Report.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32818b30a8bd52e72cbeb105b99824089c2eebd9ce37af2b8402d5993810679f
3
+ size 707088
app.py ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import html
2
+ import re
3
+ from pathlib import Path
4
+
5
+ import streamlit as st
6
+ import torch
7
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
8
+
9
+
10
+ MAX_LENGTH = 128
11
+ PROJECT_ROOT = Path(__file__).resolve().parent
12
+ MODEL_PATHS = (
13
+ PROJECT_ROOT / "bert-sentiment-model",
14
+ )
15
+
16
+
17
+ def clean_text(text):
18
+ text = html.unescape(text)
19
+ text = re.sub(r"<br\s*/?>", " ", text, flags=re.IGNORECASE)
20
+ text = text.replace("\\n", " ").replace("\\t", " ")
21
+ return re.sub(r"\s+", " ", text).strip()
22
+
23
+
24
+ @st.cache_resource
25
+ def load_model(model_path):
26
+ tokenizer = AutoTokenizer.from_pretrained(model_path, local_files_only=True)
27
+ model = AutoModelForSequenceClassification.from_pretrained(
28
+ model_path, local_files_only=True
29
+ ).to("cpu")
30
+ model.eval()
31
+ return tokenizer, model
32
+
33
+
34
+ def predict_sentiment(text, tokenizer, model):
35
+ inputs = tokenizer(
36
+ text,
37
+ return_tensors="pt",
38
+ truncation=True,
39
+ max_length=MAX_LENGTH,
40
+ )
41
+ with torch.inference_mode():
42
+ logits = model(**inputs).logits
43
+ probabilities = torch.softmax(logits, dim=-1)[0].tolist()
44
+
45
+ predicted_id = max(range(len(probabilities)), key=probabilities.__getitem__)
46
+ scores = {
47
+ model.config.id2label[index]: probability
48
+ for index, probability in enumerate(probabilities)
49
+ }
50
+ return model.config.id2label[predicted_id], scores
51
+
52
+
53
+ def main():
54
+ st.set_page_config(page_title="BERT Sentiment Classifier", page_icon="💬")
55
+ st.title("BERT Sentiment Classifier")
56
+
57
+ model_path = next(
58
+ (path for path in MODEL_PATHS if (path / "config.json").is_file()), None
59
+ )
60
+ if model_path is None:
61
+ st.info(
62
+ "Run the notebook's model-saving cell first. Keep the "
63
+ "bert_sentiment_model folder beside app.py or inside notebooks/."
64
+ )
65
+ st.stop()
66
+
67
+ with st.form("sentiment_form"):
68
+ review = st.text_area("Enter a review", height=160)
69
+ submitted = st.form_submit_button("Analyze")
70
+
71
+ if submitted:
72
+ text = clean_text(review)
73
+ if not text:
74
+ st.warning("Enter a review before analyzing.")
75
+ st.stop()
76
+
77
+ try:
78
+ with st.spinner("Analyzing..."):
79
+ tokenizer, model = load_model(str(model_path))
80
+ sentiment, scores = predict_sentiment(text, tokenizer, model)
81
+ except (OSError, ValueError, RuntimeError) as error:
82
+ st.error(f"Could not analyze the review: {error}")
83
+ st.stop()
84
+
85
+ st.metric("Sentiment", sentiment)
86
+ st.write("Class probabilities")
87
+ for label, probability in scores.items():
88
+ st.progress(probability, text=f"{label}: {probability:.1%}")
89
+
90
+
91
+ if __name__ == "__main__":
92
+ main()
bert-sentiment-model/config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": null,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "Negative",
17
+ "1": "Neutral",
18
+ "2": "Positive"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "is_decoder": false,
23
+ "label2id": {
24
+ "Negative": 0,
25
+ "Neutral": 1,
26
+ "Positive": 2
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "max_position_embeddings": 512,
30
+ "model_type": "bert",
31
+ "num_attention_heads": 12,
32
+ "num_hidden_layers": 12,
33
+ "pad_token_id": 0,
34
+ "position_embedding_type": "absolute",
35
+ "problem_type": "single_label_classification",
36
+ "tie_word_embeddings": true,
37
+ "transformers_version": "5.12.1",
38
+ "type_vocab_size": 2,
39
+ "use_cache": false,
40
+ "vocab_size": 30522
41
+ }
bert-sentiment-model/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
bert-sentiment-model/tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "is_local": false,
6
+ "local_files_only": false,
7
+ "mask_token": "[MASK]",
8
+ "model_max_length": 512,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "strip_accents": null,
12
+ "tokenize_chinese_chars": true,
13
+ "tokenizer_class": "BertTokenizer",
14
+ "unk_token": "[UNK]"
15
+ }
bert-sentiment-model/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afb90f8a53c3f50c948e8dd45a40032ceb02407e2c99e326fe342c326f9ace0d
3
+ size 5201
notebooks/train_bert.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
requirements.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ streamlit==1.58.0
2
+ torch==2.12.1
3
+ transformers==5.12.1
venv/.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ # Created by venv; see https://docs.python.org/3/library/venv.html
2
+ *
venv/bin/Activate.ps1 ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <#
2
+ .Synopsis
3
+ Activate a Python virtual environment for the current PowerShell session.
4
+
5
+ .Description
6
+ Pushes the python executable for a virtual environment to the front of the
7
+ $Env:PATH environment variable and sets the prompt to signify that you are
8
+ in a Python virtual environment. Makes use of the command line switches as
9
+ well as the `pyvenv.cfg` file values present in the virtual environment.
10
+
11
+ .Parameter VenvDir
12
+ Path to the directory that contains the virtual environment to activate. The
13
+ default value for this is the parent of the directory that the Activate.ps1
14
+ script is located within.
15
+
16
+ .Parameter Prompt
17
+ The prompt prefix to display when this virtual environment is activated. By
18
+ default, this prompt is the name of the virtual environment folder (VenvDir)
19
+ surrounded by parentheses and followed by a single space (ie. '(.venv) ').
20
+
21
+ .Example
22
+ Activate.ps1
23
+ Activates the Python virtual environment that contains the Activate.ps1 script.
24
+
25
+ .Example
26
+ Activate.ps1 -Verbose
27
+ Activates the Python virtual environment that contains the Activate.ps1 script,
28
+ and shows extra information about the activation as it executes.
29
+
30
+ .Example
31
+ Activate.ps1 -VenvDir C:\Users\MyUser\Common\.venv
32
+ Activates the Python virtual environment located in the specified location.
33
+
34
+ .Example
35
+ Activate.ps1 -Prompt "MyPython"
36
+ Activates the Python virtual environment that contains the Activate.ps1 script,
37
+ and prefixes the current prompt with the specified string (surrounded in
38
+ parentheses) while the virtual environment is active.
39
+
40
+ .Notes
41
+ On Windows, it may be required to enable this Activate.ps1 script by setting the
42
+ execution policy for the user. You can do this by issuing the following PowerShell
43
+ command:
44
+
45
+ PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
46
+
47
+ For more information on Execution Policies:
48
+ https://go.microsoft.com/fwlink/?LinkID=135170
49
+
50
+ #>
51
+ Param(
52
+ [Parameter(Mandatory = $false)]
53
+ [String]
54
+ $VenvDir,
55
+ [Parameter(Mandatory = $false)]
56
+ [String]
57
+ $Prompt
58
+ )
59
+
60
+ <# Function declarations --------------------------------------------------- #>
61
+
62
+ <#
63
+ .Synopsis
64
+ Remove all shell session elements added by the Activate script, including the
65
+ addition of the virtual environment's Python executable from the beginning of
66
+ the PATH variable.
67
+
68
+ .Parameter NonDestructive
69
+ If present, do not remove this function from the global namespace for the
70
+ session.
71
+
72
+ #>
73
+ function global:deactivate ([switch]$NonDestructive) {
74
+ # Revert to original values
75
+
76
+ # The prior prompt:
77
+ if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) {
78
+ Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt
79
+ Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT
80
+ }
81
+
82
+ # The prior PYTHONHOME:
83
+ if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) {
84
+ Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME
85
+ Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME
86
+ }
87
+
88
+ # The prior PATH:
89
+ if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) {
90
+ Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH
91
+ Remove-Item -Path Env:_OLD_VIRTUAL_PATH
92
+ }
93
+
94
+ # Just remove the VIRTUAL_ENV altogether:
95
+ if (Test-Path -Path Env:VIRTUAL_ENV) {
96
+ Remove-Item -Path env:VIRTUAL_ENV
97
+ }
98
+
99
+ # Just remove VIRTUAL_ENV_PROMPT altogether.
100
+ if (Test-Path -Path Env:VIRTUAL_ENV_PROMPT) {
101
+ Remove-Item -Path env:VIRTUAL_ENV_PROMPT
102
+ }
103
+
104
+ # Just remove the _PYTHON_VENV_PROMPT_PREFIX altogether:
105
+ if (Get-Variable -Name "_PYTHON_VENV_PROMPT_PREFIX" -ErrorAction SilentlyContinue) {
106
+ Remove-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Scope Global -Force
107
+ }
108
+
109
+ # Leave deactivate function in the global namespace if requested:
110
+ if (-not $NonDestructive) {
111
+ Remove-Item -Path function:deactivate
112
+ }
113
+ }
114
+
115
+ <#
116
+ .Description
117
+ Get-PyVenvConfig parses the values from the pyvenv.cfg file located in the
118
+ given folder, and returns them in a map.
119
+
120
+ For each line in the pyvenv.cfg file, if that line can be parsed into exactly
121
+ two strings separated by `=` (with any amount of whitespace surrounding the =)
122
+ then it is considered a `key = value` line. The left hand string is the key,
123
+ the right hand is the value.
124
+
125
+ If the value starts with a `'` or a `"` then the first and last character is
126
+ stripped from the value before being captured.
127
+
128
+ .Parameter ConfigDir
129
+ Path to the directory that contains the `pyvenv.cfg` file.
130
+ #>
131
+ function Get-PyVenvConfig(
132
+ [String]
133
+ $ConfigDir
134
+ ) {
135
+ Write-Verbose "Given ConfigDir=$ConfigDir, obtain values in pyvenv.cfg"
136
+
137
+ # Ensure the file exists, and issue a warning if it doesn't (but still allow the function to continue).
138
+ $pyvenvConfigPath = Join-Path -Resolve -Path $ConfigDir -ChildPath 'pyvenv.cfg' -ErrorAction Continue
139
+
140
+ # An empty map will be returned if no config file is found.
141
+ $pyvenvConfig = @{ }
142
+
143
+ if ($pyvenvConfigPath) {
144
+
145
+ Write-Verbose "File exists, parse `key = value` lines"
146
+ $pyvenvConfigContent = Get-Content -Path $pyvenvConfigPath
147
+
148
+ $pyvenvConfigContent | ForEach-Object {
149
+ $keyval = $PSItem -split "\s*=\s*", 2
150
+ if ($keyval[0] -and $keyval[1]) {
151
+ $val = $keyval[1]
152
+
153
+ # Remove extraneous quotations around a string value.
154
+ if ("'""".Contains($val.Substring(0, 1))) {
155
+ $val = $val.Substring(1, $val.Length - 2)
156
+ }
157
+
158
+ $pyvenvConfig[$keyval[0]] = $val
159
+ Write-Verbose "Adding Key: '$($keyval[0])'='$val'"
160
+ }
161
+ }
162
+ }
163
+ return $pyvenvConfig
164
+ }
165
+
166
+
167
+ <# Begin Activate script --------------------------------------------------- #>
168
+
169
+ # Determine the containing directory of this script
170
+ $VenvExecPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
171
+ $VenvExecDir = Get-Item -Path $VenvExecPath
172
+
173
+ Write-Verbose "Activation script is located in path: '$VenvExecPath'"
174
+ Write-Verbose "VenvExecDir Fullname: '$($VenvExecDir.FullName)"
175
+ Write-Verbose "VenvExecDir Name: '$($VenvExecDir.Name)"
176
+
177
+ # Set values required in priority: CmdLine, ConfigFile, Default
178
+ # First, get the location of the virtual environment, it might not be
179
+ # VenvExecDir if specified on the command line.
180
+ if ($VenvDir) {
181
+ Write-Verbose "VenvDir given as parameter, using '$VenvDir' to determine values"
182
+ }
183
+ else {
184
+ Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir."
185
+ $VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/")
186
+ Write-Verbose "VenvDir=$VenvDir"
187
+ }
188
+
189
+ # Next, read the `pyvenv.cfg` file to determine any required value such
190
+ # as `prompt`.
191
+ $pyvenvCfg = Get-PyVenvConfig -ConfigDir $VenvDir
192
+
193
+ # Next, set the prompt from the command line, or the config file, or
194
+ # just use the name of the virtual environment folder.
195
+ if ($Prompt) {
196
+ Write-Verbose "Prompt specified as argument, using '$Prompt'"
197
+ }
198
+ else {
199
+ Write-Verbose "Prompt not specified as argument to script, checking pyvenv.cfg value"
200
+ if ($pyvenvCfg -and $pyvenvCfg['prompt']) {
201
+ Write-Verbose " Setting based on value in pyvenv.cfg='$($pyvenvCfg['prompt'])'"
202
+ $Prompt = $pyvenvCfg['prompt'];
203
+ }
204
+ else {
205
+ Write-Verbose " Setting prompt based on parent's directory's name. (Is the directory name passed to venv module when creating the virtual environment)"
206
+ Write-Verbose " Got leaf-name of $VenvDir='$(Split-Path -Path $venvDir -Leaf)'"
207
+ $Prompt = Split-Path -Path $venvDir -Leaf
208
+ }
209
+ }
210
+
211
+ Write-Verbose "Prompt = '$Prompt'"
212
+ Write-Verbose "VenvDir='$VenvDir'"
213
+
214
+ # Deactivate any currently active virtual environment, but leave the
215
+ # deactivate function in place.
216
+ deactivate -nondestructive
217
+
218
+ # Now set the environment variable VIRTUAL_ENV, used by many tools to determine
219
+ # that there is an activated venv.
220
+ $env:VIRTUAL_ENV = $VenvDir
221
+
222
+ $env:VIRTUAL_ENV_PROMPT = $Prompt
223
+
224
+ if (-not $Env:VIRTUAL_ENV_DISABLE_PROMPT) {
225
+
226
+ Write-Verbose "Setting prompt to '$Prompt'"
227
+
228
+ # Set the prompt to include the env name
229
+ # Make sure _OLD_VIRTUAL_PROMPT is global
230
+ function global:_OLD_VIRTUAL_PROMPT { "" }
231
+ Copy-Item -Path function:prompt -Destination function:_OLD_VIRTUAL_PROMPT
232
+ New-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Description "Python virtual environment prompt prefix" -Scope Global -Option ReadOnly -Visibility Public -Value $Prompt
233
+
234
+ function global:prompt {
235
+ Write-Host -NoNewline -ForegroundColor Green "($_PYTHON_VENV_PROMPT_PREFIX) "
236
+ _OLD_VIRTUAL_PROMPT
237
+ }
238
+ }
239
+
240
+ # Clear PYTHONHOME
241
+ if (Test-Path -Path Env:PYTHONHOME) {
242
+ Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
243
+ Remove-Item -Path Env:PYTHONHOME
244
+ }
245
+
246
+ # Add the venv to the PATH
247
+ Copy-Item -Path Env:PATH -Destination Env:_OLD_VIRTUAL_PATH
248
+ $Env:PATH = "$VenvExecDir$([System.IO.Path]::PathSeparator)$Env:PATH"
venv/bin/activate ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file must be used with "source bin/activate" *from bash*
2
+ # You cannot run it directly
3
+
4
+ deactivate () {
5
+ # reset old environment variables
6
+ if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then
7
+ PATH="${_OLD_VIRTUAL_PATH:-}"
8
+ export PATH
9
+ unset _OLD_VIRTUAL_PATH
10
+ fi
11
+ if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; then
12
+ PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}"
13
+ export PYTHONHOME
14
+ unset _OLD_VIRTUAL_PYTHONHOME
15
+ fi
16
+
17
+ # Call hash to forget past locations. Without forgetting
18
+ # past locations the $PATH changes we made may not be respected.
19
+ # See "man bash" for more details. hash is usually a builtin of your shell
20
+ hash -r 2> /dev/null || true
21
+
22
+ if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then
23
+ PS1="${_OLD_VIRTUAL_PS1:-}"
24
+ export PS1
25
+ unset _OLD_VIRTUAL_PS1
26
+ fi
27
+
28
+ unset VIRTUAL_ENV
29
+ unset VIRTUAL_ENV_PROMPT
30
+ if [ ! "${1:-}" = "nondestructive" ] ; then
31
+ # Self destruct!
32
+ unset -f deactivate
33
+ fi
34
+ }
35
+
36
+ # unset irrelevant variables
37
+ deactivate nondestructive
38
+
39
+ # on Windows, a path can contain colons and backslashes and has to be converted:
40
+ case "$(uname)" in
41
+ CYGWIN*|MSYS*|MINGW*)
42
+ # transform D:\path\to\venv to /d/path/to/venv on MSYS and MINGW
43
+ # and to /cygdrive/d/path/to/venv on Cygwin
44
+ VIRTUAL_ENV=$(cygpath /Users/godlykmathews/Desktop/bert-sentimentclassifier/venv)
45
+ export VIRTUAL_ENV
46
+ ;;
47
+ *)
48
+ # use the path as-is
49
+ export VIRTUAL_ENV=/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv
50
+ ;;
51
+ esac
52
+
53
+ _OLD_VIRTUAL_PATH="$PATH"
54
+ PATH="$VIRTUAL_ENV/"bin":$PATH"
55
+ export PATH
56
+
57
+ VIRTUAL_ENV_PROMPT=venv
58
+ export VIRTUAL_ENV_PROMPT
59
+
60
+ # unset PYTHONHOME if set
61
+ # this will fail if PYTHONHOME is set to the empty string (which is bad anyway)
62
+ # could use `if (set -u; : $PYTHONHOME) ;` in bash
63
+ if [ -n "${PYTHONHOME:-}" ] ; then
64
+ _OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}"
65
+ unset PYTHONHOME
66
+ fi
67
+
68
+ if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then
69
+ _OLD_VIRTUAL_PS1="${PS1:-}"
70
+ PS1="("venv") ${PS1:-}"
71
+ export PS1
72
+ fi
73
+
74
+ # Call hash to forget past commands. Without forgetting
75
+ # past commands the $PATH changes we made may not be respected
76
+ hash -r 2> /dev/null || true
venv/bin/activate.csh ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file must be used with "source bin/activate.csh" *from csh*.
2
+ # You cannot run it directly.
3
+
4
+ # Created by Davide Di Blasi <davidedb@gmail.com>.
5
+ # Ported to Python 3.3 venv by Andrew Svetlov <andrew.svetlov@gmail.com>
6
+
7
+ alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; unsetenv VIRTUAL_ENV_PROMPT; test "\!:*" != "nondestructive" && unalias deactivate'
8
+
9
+ # Unset irrelevant variables.
10
+ deactivate nondestructive
11
+
12
+ setenv VIRTUAL_ENV /Users/godlykmathews/Desktop/bert-sentimentclassifier/venv
13
+
14
+ set _OLD_VIRTUAL_PATH="$PATH"
15
+ setenv PATH "$VIRTUAL_ENV/"bin":$PATH"
16
+ setenv VIRTUAL_ENV_PROMPT venv
17
+
18
+
19
+ if ($?prompt) then
20
+ set _OLD_VIRTUAL_PROMPT="$prompt"
21
+
22
+ if (! "$?VIRTUAL_ENV_DISABLE_PROMPT") then
23
+ set prompt = "("venv") $prompt:q"
24
+ endif
25
+ endif
26
+
27
+ alias pydoc python -m pydoc
28
+
29
+ rehash
venv/bin/activate.fish ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file must be used with "source <venv>/bin/activate.fish" *from fish*
2
+ # (https://fishshell.com/). You cannot run it directly.
3
+
4
+ function deactivate -d "Exit virtual environment and return to normal shell environment"
5
+ # reset old environment variables
6
+ if test -n "$_OLD_VIRTUAL_PATH"
7
+ set -gx PATH $_OLD_VIRTUAL_PATH
8
+ set -e _OLD_VIRTUAL_PATH
9
+ end
10
+ if test -n "$_OLD_VIRTUAL_PYTHONHOME"
11
+ set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
12
+ set -e _OLD_VIRTUAL_PYTHONHOME
13
+ end
14
+
15
+ if test -n "$_OLD_FISH_PROMPT_OVERRIDE"
16
+ set -e _OLD_FISH_PROMPT_OVERRIDE
17
+ # prevents error when using nested fish instances (Issue #93858)
18
+ if functions -q _old_fish_prompt
19
+ functions -e fish_prompt
20
+ functions -c _old_fish_prompt fish_prompt
21
+ functions -e _old_fish_prompt
22
+ end
23
+ end
24
+
25
+ set -e VIRTUAL_ENV
26
+ set -e VIRTUAL_ENV_PROMPT
27
+ if test "$argv[1]" != "nondestructive"
28
+ # Self-destruct!
29
+ functions -e deactivate
30
+ end
31
+ end
32
+
33
+ # Unset irrelevant variables.
34
+ deactivate nondestructive
35
+
36
+ set -gx VIRTUAL_ENV /Users/godlykmathews/Desktop/bert-sentimentclassifier/venv
37
+
38
+ set -gx _OLD_VIRTUAL_PATH $PATH
39
+ set -gx PATH "$VIRTUAL_ENV/"bin $PATH
40
+ set -gx VIRTUAL_ENV_PROMPT venv
41
+
42
+ # Unset PYTHONHOME if set.
43
+ if set -q PYTHONHOME
44
+ set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
45
+ set -e PYTHONHOME
46
+ end
47
+
48
+ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
49
+ # fish uses a function instead of an env var to generate the prompt.
50
+
51
+ # Save the current fish_prompt function as the function _old_fish_prompt.
52
+ functions -c fish_prompt _old_fish_prompt
53
+
54
+ # With the original prompt function renamed, we can override with our own.
55
+ function fish_prompt
56
+ # Save the return status of the last command.
57
+ set -l old_status $status
58
+
59
+ # Output the venv prompt; color taken from the blue of the Python logo.
60
+ printf "%s(%s)%s " (set_color 4B8BBE) venv (set_color normal)
61
+
62
+ # Restore the return status of the previous command.
63
+ echo "exit $old_status" | .
64
+ # Output the original/"old" prompt.
65
+ _old_fish_prompt
66
+ end
67
+
68
+ set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
69
+ end
venv/bin/f2py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from numpy.f2py.f2py2e import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/hf ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from huggingface_hub.cli.hf import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/httpx ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from httpx import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/huggingface-cli ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from huggingface_hub.cli.deprecated_cli import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/idna ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from idna.cli import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/isympy ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from isympy import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/jsonschema ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from jsonschema.cli import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/markdown-it ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from markdown_it.cli.parse import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/normalizer ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from charset_normalizer.cli import cli_detect
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(cli_detect())
venv/bin/numpy-config ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from numpy._configtool import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/pip ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from pip._internal.cli.main import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/pip3 ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from pip._internal.cli.main import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/pip3.14 ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from pip._internal.cli.main import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/pygmentize ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from pygments.cmdline import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/python ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8a41706db062af069cf32b388a29eb2879b810d2d8dd4a5fd5bda3d163132ac
3
+ size 18800624
venv/bin/python3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8a41706db062af069cf32b388a29eb2879b810d2d8dd4a5fd5bda3d163132ac
3
+ size 18800624
venv/bin/python3.14 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8a41706db062af069cf32b388a29eb2879b810d2d8dd4a5fd5bda3d163132ac
3
+ size 18800624
venv/bin/streamlit ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from streamlit.web.cli import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/tiny-agents ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from huggingface_hub.inference._mcp.cli import app
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(app())
venv/bin/torchfrtrace ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from torch.distributed.flight_recorder.fr_trace import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/torchrun ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from torch.distributed.run import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/tqdm ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from tqdm.cli import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/transformers ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from transformers.cli.transformers import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/typer ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from typer.cli import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/uvicorn ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from uvicorn.main import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/websockets ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/Users/godlykmathews/Desktop/bert-sentimentclassifier/venv/bin/python
2
+ import sys
3
+ from websockets.cli import main
4
+ if __name__ == '__main__':
5
+ sys.argv[0] = sys.argv[0].removesuffix('.exe')
6
+ sys.exit(main())
venv/bin/𝜋thon ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8a41706db062af069cf32b388a29eb2879b810d2d8dd4a5fd5bda3d163132ac
3
+ size 18800624
venv/etc/jupyter/nbconfig/notebook.d/pydeck.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "load_extensions": {
3
+ "pydeck/extension": true
4
+ }
5
+ }
venv/lib/python3.14/site-packages/PIL/.dylibs/libXau.6.dylib ADDED
Binary file (69.8 kB). View file
 
venv/lib/python3.14/site-packages/PIL/.dylibs/libavif.16.4.2.dylib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee0124cb07fb6419ed743cf9658b25211f7cc87d9081ad3e9416100db02c3c09
3
+ size 3031984
venv/lib/python3.14/site-packages/PIL/.dylibs/libbrotlicommon.1.2.0.dylib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f4843c17f3cccc986279a4c9ac8a11dc3077c412fd856d1bad8231bf027a25f
3
+ size 183712
venv/lib/python3.14/site-packages/PIL/.dylibs/libbrotlidec.1.2.0.dylib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:351fa4a2f4faed4147dfead81a8b0f5500ada31db64f74c8368bc1ab894f0dd1
3
+ size 104080
venv/lib/python3.14/site-packages/PIL/.dylibs/libfreetype.6.dylib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:996f9be86f5cee9a44924dba75e3db7ad8a1e83ec1695505c60d314f269b6109
3
+ size 1120896
venv/lib/python3.14/site-packages/PIL/.dylibs/libharfbuzz.0.dylib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e6800c210dcc2b6faa1e05ef42d1d4fdd0bb0dc88cd4640c7cd86ac715c51fd
3
+ size 1806576