auto_coding icon indicating copy to clipboard operation
auto_coding copied to clipboard

A basic and simple tool for code auto completion

Results 5 auto_coding issues
Sort by recently updated
recently updated
newest added

When I try to input : "def factorial", it gives me the following error. Could you please help me resolve it? Thanks. File "interact.py", line 52, in outputs = model.generate(input_ids=input_ids.to("cuda")...

楼主你好,我最近也在研究代码补全.但是发现大部分都是代码生成,二者还是有一些区别的 例如 * 代码生成 >用户输入完整的单词`import tensorflow`,然后生成后面的`as tf` > EXP:`generate("import tensorflow")` > `import tensorflow as tf` * 代码补全 >用户输入 `import ten`,期望模型输出`import tensorflow as tf` >EXP:`completion("import ten")` > `import tensorflow as tf`...

Bumps [torch](https://github.com/pytorch/pytorch) from 1.4.0 to 2.2.0. Release notes Sourced from torch's releases. PyTorch 2.2: FlashAttention-v2, AOTInductor PyTorch 2.2 Release Notes Highlights Backwards Incompatible Changes Deprecations New Features Improvements Bug fixes...

dependencies

this was fun though! maybe still useful for something but i think that finetuning gpt2 is not quite as performant as fine tuning some of these other modern models. this...