File size: 611 Bytes
41ef15a
 
 
 
 
 
 
 
 
010de75
f9403e3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
010de75
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
license: mit
tags:
- mamba
- pytorch
- Test Generation
- research abstract
datasets: pt-sk/research_papers_short
---
```
from huggingface_hub import login
login()

from huggingface_hub import HfApi
api = HfApi()
api.upload_file(
    path_or_fileobj="/content/drive/MyDrive/mamba_research_test",
    path_in_repo="mamba_research_test",
    repo_id="pt-sk/mamba_scratch",
    repo_type="model",
    commit_message="uploaded model file"
)

from huggingface_hub import HfApi
api = HfApi()

api.upload_folder(
    folder_path="/content/tokenizer",
    repo_id="pt-sk/mamba_scratch",
    repo_type="model",

)
```