Raheel Abdul Rehman commited on
Commit
ae03d68
·
1 Parent(s): e2999c3
Files changed (2) hide show
  1. README.md +38 -0
  2. rag/retieval.py +1 -0
README.md CHANGED
@@ -73,3 +73,41 @@ These features will be integrated into the same RAG pipeline so the model can re
73
 
74
  Set secrets in your Space:
75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
 
74
  Set secrets in your Space:
75
 
76
+
77
+ ### 📜 Model Licensing & Notices
78
+
79
+ This application uses Google’s Gemma-2-2B-IT model served via the Hugging Face Inference API.
80
+
81
+ 🔖 Required Notice (Gemma Terms, Section 3.1)
82
+
83
+ Gemma is provided under and subject to the Gemma Terms of Use found at:
84
+ https://ai.google.dev/gemma/terms
85
+
86
+ 📘 Terms of Use
87
+
88
+ By using this Space, you agree that Gemma is governed by the Gemma Terms of Use and the Gemma Prohibited Use Policy:
89
+
90
+ Gemma Terms of Use: https://ai.google.dev/gemma/terms
91
+
92
+ Prohibited Use Policy: https://ai.google.dev/gemma/prohibited_use_policy
93
+
94
+ ⚠️ Compliance Statement
95
+
96
+ In accordance with Section 3 of the Gemma Terms of Use:
97
+
98
+ This Space does not provide or distribute Gemma model weights.
99
+
100
+ This Space does not modify Gemma or create Model Derivatives.
101
+
102
+ This Space does not train or fine-tune another model using Gemma outputs.
103
+
104
+ This Space only uses Gemma for inference through the Hugging Face Hosted API.
105
+
106
+ This Space does not store or reuse model outputs to train other models.
107
+
108
+ No endorsement by Google is implied.
109
+
110
+ 🧍 Personal / Educational Use
111
+
112
+ This is a personal project, intended solely for educational and career-analysis purposes.
113
+ Users are solely responsible for how they use the outputs.
rag/retieval.py CHANGED
@@ -1,4 +1,5 @@
1
  import os
 
2
  from langchain_community.vectorstores import FAISS
3
  from langchain_community.embeddings import HuggingFaceEmbeddings
4
 
 
1
  import os
2
+ import sys
3
  from langchain_community.vectorstores import FAISS
4
  from langchain_community.embeddings import HuggingFaceEmbeddings
5