|
32 | 32 |
|
33 | 33 | ## code-bert local setup
|
34 | 34 |
|
35 | | -**The entire code base is built and abvailble for Python3.6+** |
| 35 | +**The entire code base is built and availble for Python3.6+** |
36 | 36 |
|
37 | 37 | We have provided very easy to use CLI commands to achieve all these, and at scale. Let's go through that step by step
|
38 | 38 |
|
@@ -141,7 +141,7 @@ def get_file(filename):
|
141 | 141 |
|
142 | 142 | ```
|
143 | 143 | 1. Mine souce code to get function-docstring pairs using [tree-hugger](https://github.com/autosoft-dev/tree-hugger)
|
144 | | -2. Prep for functions and docstring data to fit input format expected by [codeBERT-small-v2](https://huggingface.co/codistai/codeBERT-small-v2) model. |
| 144 | +2. Prep functions and docstring data to fit input format expected by [codeBERT-small-v2](https://huggingface.co/codistai/codeBERT-small-v2) model. |
145 | 145 | - **Function** - `def get file ( filename ) : indent if not path ( filename ) . is file ( ) : indent return none dedent return open ( filename , "rb" ) dedent`
|
146 | 146 |
|
147 | 147 | - **Doc String** - `opens a url`
|
|
0 commit comments