qgallouedec HF Staff commited on
Commit
73eb084
·
verified ·
1 Parent(s): 3c5ba8d

Add RemoteForSequenceClassification to remote-code map

Browse files
Files changed (2) hide show
  1. model.safetensors +1 -1
  2. modeling_remote.py +5 -1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8175f1f351543ff38d6e7fac2097975e89ff54b84d9d5caf0e5a4dfaf1810428
3
  size 4110296
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bae039ec01af1993f0ccb567fb306c51b36cd9369800ecd81b96d7faccdf0aa0
3
  size 4110296
modeling_remote.py CHANGED
@@ -12,10 +12,14 @@
12
  # See the License for the specific language governing permissions and
13
  # limitations under the License.
14
 
15
- from transformers import LlamaForCausalLM
16
 
17
  from .configuration_remote import RemoteConfig
18
 
19
 
20
  class RemoteForCausalLM(LlamaForCausalLM):
21
  config_class = RemoteConfig
 
 
 
 
 
12
  # See the License for the specific language governing permissions and
13
  # limitations under the License.
14
 
15
+ from transformers import LlamaForCausalLM, LlamaForSequenceClassification
16
 
17
  from .configuration_remote import RemoteConfig
18
 
19
 
20
  class RemoteForCausalLM(LlamaForCausalLM):
21
  config_class = RemoteConfig
22
+
23
+
24
+ class RemoteForSequenceClassification(LlamaForSequenceClassification):
25
+ config_class = RemoteConfig