Update nextus_regressor_class.py
Browse files
nextus_regressor_class.py
CHANGED
@@ -3,7 +3,9 @@ from torch import nn
|
|
3 |
from sentence_transformers import SentenceTransformer
|
4 |
from regressor import *
|
5 |
import numpy as np
|
|
|
6 |
|
|
|
7 |
|
8 |
class NextUsRegressor(nn.Module):
|
9 |
def __init__(self):
|
|
|
3 |
from sentence_transformers import SentenceTransformer
|
4 |
from regressor import *
|
5 |
import numpy as np
|
6 |
+
import os
|
7 |
|
8 |
+
ENCODER = os.getenv("ENCODER")
|
9 |
|
10 |
class NextUsRegressor(nn.Module):
|
11 |
def __init__(self):
|