LMFuser 0.0.6__tar.gz → 0.0.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: LMFuser
3
- Version: 0.0.6
3
+ Version: 0.0.7
4
4
  Summary: The LMFuser training framework.
5
5
  Project-URL: Homepage, https://github.com/TYTTYTTYT/LMFuser
6
6
  Project-URL: Documentation, https://github.com/TYTTYTTYT/LMFuser
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "LMFuser"
7
- version = "0.0.6"
7
+ version = "0.0.7"
8
8
  requires-python = ">= 3.11"
9
9
  description = "The LMFuser training framework."
10
10
  readme = "README.md"
@@ -257,11 +257,11 @@ class Tasks(Conf):
257
257
 
258
258
  if len(self.tasks) > num:
259
259
  self.tasks = self.tasks[:num]
260
- self.task_weight = self.task_weight[:num]
260
+ self.task_weights = self.task_weights[:num]
261
261
  elif len(self.tasks) < num:
262
262
  self.tasks += [TaskSelector() for _ in range(num - len(self.tasks))]
263
- self.task_weight += [
264
- FloatArg(1.0, min_value=0.0, max_value=1.0) for _ in range(num - len(self.task_weight))
263
+ self.task_weights += [
264
+ FloatArg(1.0, min_value=0.0, max_value=1.0) for _ in range(num - len(self.task_weights))
265
265
  ]
266
266
 
267
267
  def get_train_dataloaders(
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes