pcs-annotator 0.1.6__tar.gz → 0.1.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pcs-annotator
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: A Python library for classification tasks using multiple LLMs
5
5
  Project-URL: Homepage, https://github.com/salsina/PCS-Python-Library
6
6
  Project-URL: Issues, https://github.com/salsina/PCS-Python-Library/issues
@@ -53,7 +53,7 @@ class LLM:
53
53
 
54
54
  model = HuggingFaceEndpoint(
55
55
  repo_id=self.model_name,
56
- task="conversational",
56
+ # task="conversational",
57
57
  temperature=0.1,
58
58
  huggingfacehub_api_token=self.key,
59
59
  )
@@ -186,7 +186,8 @@ class PCS:
186
186
 
187
187
  num_labels = len(possible_labels)
188
188
  pcs_labels = np.zeros(num_labels)
189
-
189
+
190
+ print(llm_labels)
190
191
  for i in range(len(w_llms)):
191
192
  pcs_label_llm = np.zeros(num_labels)
192
193
  for j in range(len(llm_labels[i])): #Iterate through MR labels
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
5
5
 
6
6
  [project]
7
7
  name = "pcs-annotator"
8
- version = "0.1.6"
8
+ version = "0.1.7"
9
9
  authors = [
10
10
  { name = "Sina Salimian", email = "sina99.sn@gmail.com" }
11
11
  ]
File without changes
File without changes