transactify / setup.md
Ananthakrishnan12's picture
transactify base changes (#2)
8ac6150 verified
|
raw
history blame
947 Bytes
## Install Git LFS
```
brew install git-lfs
```
or download from https://git-lfs.github.com/
## Update global git config
```
$ git lfs install
```
## Update system git config
```
$ git lfs install --system
```
## Clone the Repo
### Entire Clone
```
git clone https://huggingface.co/webslate/transactify
```
### Light Clone
```
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/webslate/transactify
```
## For Pushing the Code
> Refer to https://huggingface.co/blog/password-git-deprecation
### Set the Remote URL
```
$: git remote set-url origin https://<user_name>:<token>@huggingface.co/<repo_path>
```
### Token Creation
> Go to Settings > Access Tokens > Create new token >
Choose Write Tab (3rd one) / go here https://huggingface.co/settings/tokens/new?tokenType=write
## Create Virtual Environment
```
python3 -m venv venv
source venv/bin/activate
```
## FYI
> We initially started with `pip install transformers datasets`