turkish-code-detector
2
1 language
license:apache-2.0
by
yeniguno
Other
OTHER
New
2 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Code Examples
How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]How to Get Started with the Modelpythontransformers
from transformers import pipeline
clf = pipeline("text-classification",
model="yeniguno/turkish-code-detector",
tokenizer="yeniguno/turkish-code-detector")
prompt = "def faktoriyel(n):\n return 1 if n <= 1 else n * faktoriyel(n-1)"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'CODE', 'score': 0.999995231628418}]
prompt = "Linux'un yaratıcısı kimdir, biliyor musun?"
result = clf(prompt)
print(f"Classification: {result}\n")
# Classification: [{'label': 'NL', 'score': 0.9998611211776733}]Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.