|
--- |
|
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", |
|
|
|
) |
|
``` |