Text Classification
Transformers
Safetensors
English
Korean
roberta
sequence-classification
code
small
text-embeddings-inference
Instructions to use hosung1/code-sim-roberta-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hosung1/code-sim-roberta-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hosung1/code-sim-roberta-small")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hosung1/code-sim-roberta-small") model = AutoModelForSequenceClassification.from_pretrained("hosung1/code-sim-roberta-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 882 Bytes
d981182 440e679 cc2ba52 440e679 d981182 | 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 | ---
language: [en, ko]
license: unknown
tags:
- roberta
- sequence-classification
- code
- small
inference: false
library_name: transformers
pipeline_tag: text-classification
datasets:
- dacon
---
# code-sim-roberta-small
RoBERTa-small์ ์ฝ๋ ์ ์ฌ๋ ๋ถ๋ฅ ํ์คํฌ๋ก ํ์ธํ๋ํ ๊ฐ์ค์น์
๋๋ค.
Task : https://dacon.io/competitions/official/235900/overview/description
Decription : ๋ ์ฝ๋๊ฐ ์ ์ฌ์ฑ(๋์ผ ๊ฒฐ๊ณผ๋ฌผ ์ฐ์ถ ๊ฐ๋ฅํ์ง) ์ฌ๋ถ๋ฅผ ํ๋จํ ์ ์๋ AI ์๊ณ ๋ฆฌ์ฆ์ ๊ฐ๋ฐ
์ฌ์ฉ pretrained_model : "hosung1/roberta_small_mlm_from_scratch"
์ฌ์ฉ Datasets : Dacon์ ๊ณต
## How to use
```python
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tok = AutoTokenizer.from_pretrained("hosung1/code-sim-roberta-small")
mdl = AutoModelForSequenceClassification.from_pretrained("hosung1/code-sim-roberta-small")
|