grantpitt commited on
Commit
594d955
1 Parent(s): 9d986ac

fix typo in pipeline and remove library in readme

Browse files
Files changed (2) hide show
  1. README.md +0 -1
  2. pipeline.py +1 -2
README.md CHANGED
@@ -1,5 +1,4 @@
1
  ---
2
  tags:
3
  - feature-extraction
4
- library_name: generic
5
  ---
 
1
  ---
2
  tags:
3
  - feature-extraction
 
4
  ---
pipeline.py CHANGED
@@ -1,5 +1,4 @@
1
  from typing import Dict, List, Any
2
- import random
3
  import numpy as np
4
 
5
  class PreTrainedPipeline():
@@ -19,4 +18,4 @@ class PreTrainedPipeline():
19
  A :obj:`list` of floats: The features computed by the model.
20
  """
21
  # IMPLEMENT_THIS
22
- return self.x[:len(input)].tolist()
 
1
  from typing import Dict, List, Any
 
2
  import numpy as np
3
 
4
  class PreTrainedPipeline():
 
18
  A :obj:`list` of floats: The features computed by the model.
19
  """
20
  # IMPLEMENT_THIS
21
+ return self.x