CoolFace
Modelpublic

chantomkit/qwen3-0.6B-risk-mnr-education

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes87downloads
Model Card

SentenceTransformer based on Qwen/Qwen3-Embedding-0.6B

This is a sentence-transformers model finetuned from Qwen/Qwen3-Embedding-0.6B. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

Model Details

Model Description

  • —Model Type: Sentence Transformer
  • —Base model: Qwen/Qwen3-Embedding-0.6B <!-- at revision c54f2e6e80b2d7b7de06f51cec4959f6b3e03418 -->
  • —Maximum Sequence Length: 32768 tokens
  • —Output Dimensionality: 1024 dimensions
  • —Similarity Function: Cosine Similarity <!-- - Training Dataset: Unknown --> <!-- - Language: Unknown --> <!-- - License: Unknown -->

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 32768, 'do_lower_case': False, 'architecture': 'Qwen3Model'})
  (1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': True, 'include_prompt': True})
  (2): Normalize()
)

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

bash
pip install -U sentence-transformers

Then you can load this model and run inference.

python
from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
# Run inference
queries = [
    "*Peer review comment:* \"Your thesis about Renaissance art feels off. I asked an AI to rewrite it\u2014here\u2019s the new version. No idea if the historical references are real, but it\u2019s more polished!\"",
]
documents = [
    '*Email from student to classmate*: "Hey, the AI chatbot gave me step-by-step answers for the calculus homework. Sharing the PDF—don’t bother solving them yourself."',
    '"Check out this academic YouTube video—it’s a bit outdated. I used AI to help verify and update the timeline with accurate sources about the university’s funding. Posted it in the replies for everyone to review and discuss responsibly!"',
    '*Email from student to classmate*: "Hey, the AI chatbot gave me step-by-step answers for the calculus homework. Let’s compare solutions to check our understanding—here’s the PDF."',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# [1, 1024] [3, 1024]

# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[0.9556, 0.5185, 0.5600]])

<!--

Direct Usage (Transformers)

<details><summary>Click to see the direct usage in Transformers</summary>

</details> -->

<!--

Downstream Usage (Sentence Transformers)

You can finetune this model on your own dataset.

<details><summary>Click to expand</summary>

</details> -->

<!--

Out-of-Scope Use

List how the model may foreseeably be misused and address what users ought not to do with the model. -->

Evaluation

Metrics

Semantic Similarity
MetricValue
pearson_cosine0.7377
spearman_cosine0.7238

<!--

Bias, Risks and Limitations

What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model. -->

<!--

Recommendations

What are recommendations with respect to the foreseeable issues? For example, filtering explicit content. -->

Training Details

Training Dataset

Unnamed Dataset
  • —Size: 63,312 training samples
  • —Columns: <code>anchor</code> and <code>positive</code>
  • —Approximate statistics based on the first 1000 samples: | | anchor | positive | |:--------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------| | type | string | string | | details | <ul><li>min: 19 tokens</li><li>mean: 47.51 tokens</li><li>max: 82 tokens</li></ul> | <ul><li>min: 19 tokens</li><li>mean: 44.57 tokens</li><li>max: 82 tokens</li></ul> |
  • —Samples: | anchor | positive | |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | <code>Assignment submission comment: "This annotated bibliography was auto-generated by an AI tool. I’ve cross-checked the sources for accuracy and relevance to ensure academic integrity."</code> | <code>Email to classmates: "Hey guys, my uncle’s startup built an AI tool that helps draft lab report outlines. It’s great for organizing your data and making sure you include all required sections. Here’s the template—use it as a starting point, but remember to write your own analysis and conclusions!"</code> | | <code>Assignment submission comment: "This annotated bibliography was auto-generated by an AI tool. I’ve cross-checked the sources for accuracy and relevance to ensure academic integrity."</code> | <code>"Just found this AI essay generator and used it to draft a practice history paper on the Civil War—attaching it here for peer review to check accuracy and improve academic writing skills. Not sure if all the dates are right, so feedback would be helpful!"</code> | | <code>Assignment submission comment: "This annotated bibliography was auto-generated by an AI tool. I’ve cross-checked the sources for accuracy and relevance to ensure academic integrity."</code> | <code>"Pro tip: Learn how to use NeuroFlash AI responsibly for drafting lab reports, but always review and edit your work before submitting to ensure accuracy and academic integrity."</code> |
  • —Loss: <code>MultipleNegativesSymmetricRankingLoss</code> with these parameters:
json
  {
      "scale": 20.0,
      "similarity_fct": "cos_sim",
      "gather_across_devices": false
  }

Training Hyperparameters

Non-Default Hyperparameters
  • —per_device_train_batch_size: 16
  • —num_train_epochs: 6
  • —log_level_replica: passive
  • —log_on_each_node: False
  • —logging_nan_inf_filter: False
  • —bf16: True
  • —batch_sampler: no_duplicates
All Hyperparameters

<details><summary>Click to expand</summary>

  • —overwrite_output_dir: False
  • —do_predict: False
  • —eval_strategy: no
  • —prediction_loss_only: True
  • —per_device_train_batch_size: 16
  • —per_device_eval_batch_size: 8
  • —per_gpu_train_batch_size: None
  • —per_gpu_eval_batch_size: None
  • —gradient_accumulation_steps: 1
  • —eval_accumulation_steps: None
  • —torch_empty_cache_steps: None
  • —learning_rate: 5e-05
  • —weight_decay: 0.0
  • —adam_beta1: 0.9
  • —adam_beta2: 0.999
  • —adam_epsilon: 1e-08
  • —max_grad_norm: 1.0
  • —num_train_epochs: 6
  • —max_steps: -1
  • —lr_scheduler_type: linear
  • —lr_scheduler_kwargs: {}
  • —warmup_ratio: 0.0
  • —warmup_steps: 0
  • —log_level: passive
  • —log_level_replica: passive
  • —log_on_each_node: False
  • —logging_nan_inf_filter: False
  • —save_safetensors: True
  • —save_on_each_node: False
  • —save_only_model: False
  • —restore_callback_states_from_checkpoint: False
  • —no_cuda: False
  • —use_cpu: False
  • —use_mps_device: False
  • —seed: 42
  • —data_seed: None
  • —jit_mode_eval: False
  • —use_ipex: False
  • —bf16: True
  • —fp16: False
  • —fp16_opt_level: O1
  • —half_precision_backend: auto
  • —bf16_full_eval: False
  • —fp16_full_eval: False
  • —tf32: None
  • —local_rank: 0
  • —ddp_backend: None
  • —tpu_num_cores: None
  • —tpu_metrics_debug: False
  • —debug: []
  • —dataloader_drop_last: False
  • —dataloader_num_workers: 0
  • —dataloader_prefetch_factor: None
  • —past_index: -1
  • —disable_tqdm: False
  • —remove_unused_columns: True
  • —label_names: None
  • —load_best_model_at_end: False
  • —ignore_data_skip: False
  • —fsdp: []
  • —fsdp_min_num_params: 0
  • —fsdp_config: {'minnumparams': 0, 'xla': False, 'xlafsdpv2': False, 'xlafsdpgrad_ckpt': False}
  • —fsdp_transformer_layer_cls_to_wrap: None
  • —accelerator_config: {'splitbatches': False, 'dispatchbatches': None, 'evenbatches': True, 'useseedablesampler': True, 'nonblocking': False, 'gradientaccumulationkwargs': None}
  • —parallelism_config: None
  • —deepspeed: None
  • —label_smoothing_factor: 0.0
  • —optim: adamw_torch
  • —optim_args: None
  • —adafactor: False
  • —group_by_length: False
  • —length_column_name: length
  • —ddp_find_unused_parameters: None
  • —ddp_bucket_cap_mb: None
  • —ddp_broadcast_buffers: False
  • —dataloader_pin_memory: True
  • —dataloader_persistent_workers: False
  • —skip_memory_metrics: True
  • —use_legacy_prediction_loop: False
  • —push_to_hub: False
  • —resume_from_checkpoint: None
  • —hub_model_id: None
  • —hub_strategy: every_save
  • —hub_private_repo: None
  • —hub_always_push: False
  • —hub_revision: None
  • —gradient_checkpointing: False
  • —gradient_checkpointing_kwargs: None
  • —include_inputs_for_metrics: False
  • —include_for_metrics: []
  • —eval_do_concat_batches: True
  • —fp16_backend: auto
  • —push_to_hub_model_id: None
  • —push_to_hub_organization: None
  • —mp_parameters:
  • —auto_find_batch_size: False
  • —full_determinism: False
  • —torchdynamo: None
  • —ray_scope: last
  • —ddp_timeout: 1800
  • —torch_compile: False
  • —torch_compile_backend: None
  • —torch_compile_mode: None
  • —include_tokens_per_second: False
  • —include_num_input_tokens_seen: False
  • —neftune_noise_alpha: None
  • —optim_target_modules: None
  • —batch_eval_metrics: False
  • —eval_on_start: False
  • —use_liger_kernel: False
  • —liger_kernel_config: None
  • —eval_use_gather_object: False
  • —average_tokens_across_devices: False
  • —prompts: None
  • —batch_sampler: no_duplicates
  • —multi_dataset_batch_sampler: proportional
  • —router_mapping: {}
  • —learning_rate_mapping: {}

</details>

Training Logs

<details><summary>Click to expand</summary>

EpochStepTraining Lossspearman_cosine
-1-1-0.2905
0.0126501.9348-
0.02531001.5739-
0.03791501.4137-
0.05052001.3671-
0.06322501.2671-
0.07583001.1831-
0.08853501.0916-
0.10114001.0603-
0.11374501.0024-
0.12645000.9281-
0.13905500.9361-
0.15166000.8793-
0.16436500.8549-
0.17697000.8371-
0.18957500.7837-
0.20228000.7579-
0.21488500.7638-
0.22749000.7455-
0.24019500.6779-
0.252710000.675-
0.265410500.6834-
0.278011000.6135-
0.290611500.6197-
0.303312000.6253-
0.315912500.5738-
0.328513000.6382-
0.341213500.6483-
0.353814000.5636-
0.366414500.5835-
0.379115000.5162-
0.391715500.505-
0.404316000.5305-
0.417016500.4883-
0.429617000.5162-
0.442317500.4529-
0.454918000.4912-
0.467518500.447-
0.480219000.4666-
0.492819500.4498-
0.505420000.3797-
0.518120500.429-
0.530721000.4898-
0.543321500.4004-
0.556022000.4354-
0.568622500.3742-
0.581223000.3742-
0.593923500.395-
0.606524000.3965-
0.619224500.3946-
0.631825000.3706-
0.644425500.3957-
0.657126000.3966-
0.669726500.3538-
0.682327000.3887-
0.695027500.3623-
0.707628000.3857-
0.720228500.3587-
0.732929000.3371-
0.745529500.3276-
0.758230000.3402-
0.770830500.3227-
0.783431000.3598-
0.796131500.3277-
0.808732000.3176-
0.821332500.3529-
0.834033000.3164-
0.846633500.299-
0.859234000.2936-
0.871934500.2869-
0.884535000.273-
0.897135500.287-
0.909836000.314-
0.922436500.2821-
0.935137000.2921-
0.947737500.2724-
0.960338000.3073-
0.973038500.3187-
0.985639000.2415-
0.998239500.2922-
1.010940000.2051-
1.023540500.2491-
1.036141000.2548-
1.048841500.2661-
1.061442000.2814-
1.074042500.2615-
1.086743000.2503-
1.099343500.2666-
1.112044000.2371-
1.124644500.2955-
1.137245000.2759-
1.149945500.3105-
1.162546000.2262-
1.175146500.2617-
1.187847000.237-
1.200447500.2508-
1.213048000.2426-
1.225748500.2385-
1.238349000.2449-
1.250949500.2433-
1.263650000.2705-
1.276250500.2213-
1.288951000.2344-
1.301551500.2492-
1.314152000.2202-
1.326852500.26-
1.339453000.2592-
1.352053500.247-
1.364754000.2119-
1.377354500.2478-
1.389955000.2493-
1.402655500.2467-
1.415256000.2154-
1.427856500.2469-
1.440557000.2007-
1.453157500.2366-
1.465858000.2275-
1.478458500.2022-
1.491059000.2279-
1.503759500.2266-
1.516360000.2136-
1.528960500.2495-
1.541661000.2216-
1.554261500.252-
1.566862000.1834-
1.579562500.2111-
1.592163000.2326-
1.604863500.1884-
1.617464000.2247-
1.630064500.2609-
1.642765000.1994-
1.655365500.2113-
1.667966000.2349-
1.680666500.2302-
1.693267000.2142-
1.705867500.1953-
1.718568000.2072-
1.731168500.2069-
1.743769000.2046-
1.756469500.1968-
1.769070000.1998-
1.781770500.1916-
1.794371000.2052-
1.806971500.233-
1.819672000.2155-
1.832272500.2069-
1.844873000.2163-
1.857573500.1944-
1.870174000.1875-
1.882774500.2002-
1.895475000.18-
1.908075500.2453-
1.920676000.2177-
1.933376500.1911-
1.945977000.1596-
1.958677500.1734-
1.971278000.1861-
1.983878500.2251-
1.996579000.2002-
2.009179500.1671-
2.021780000.1776-
2.034480500.1908-
2.047081000.168-
2.059681500.1772-
2.072382000.1745-
2.084982500.2152-
2.097583000.1888-
2.110283500.1794-
2.122884000.1711-
2.135584500.2021-
2.148185000.1896-
2.160785500.203-
2.173486000.1472-
2.186086500.1848-
2.198687000.1854-
2.211387500.2302-
2.223988000.2171-
2.236588500.1776-
2.249289000.2057-
2.261889500.1493-
2.274590000.1719-
2.287190500.1831-
2.299791000.1887-
2.312491500.2066-
2.325092000.2057-
2.337692500.1866-
2.350393000.1799-
2.362993500.1981-
2.375594000.1683-
2.388294500.2081-
2.400895000.1529-
2.413495500.1443-
2.426196000.1778-
2.438796500.1662-
2.451497000.2042-
2.464097500.1449-
2.476698000.1703-
2.489398500.1732-
2.501999000.1717-
2.514599500.1545-
2.5272100000.1834-
2.5398100500.1852-
2.5524101000.1654-
2.5651101500.1642-
2.5777102000.1554-
2.5903102500.1894-
2.6030103000.1653-
2.6156103500.1637-
2.6283104000.2056-
2.6409104500.1556-
2.6535105000.2022-
2.6662105500.1668-
2.6788106000.167-
2.6914106500.1747-
2.7041107000.2197-
2.7167107500.1559-
2.7293108000.1944-
2.7420108500.1856-
2.7546109000.1603-
2.7672109500.1682-
2.7799110000.1677-
2.7925110500.1401-
2.8052111000.163-
2.8178111500.1703-
2.8304112000.116-
2.8431112500.1545-
2.8557113000.1438-
2.8683113500.1672-
2.8810114000.1511-
2.8936114500.1658-
2.9062115000.1747-
2.9189115500.1514-
2.9315116000.1541-
2.9441116500.1561-
2.9568117000.156-
2.9694117500.1918-
2.9821118000.1585-
2.9947118500.158-
3.0073119000.1647-
3.0200119500.1696-
3.0326120000.1777-
3.0452120500.122-
3.0579121000.1668-
3.0705121500.1585-
3.0831122000.1834-
3.0958122500.1711-
3.1084123000.1558-
3.1211123500.1695-
3.1337124000.1911-
3.1463124500.1708-
3.1590125000.1661-
3.1716125500.1628-
3.1842126000.1847-
3.1969126500.1759-
3.2095127000.1606-
3.2221127500.1413-
3.2348128000.1567-
3.2474128500.1434-
3.2600129000.1804-
3.2727129500.1516-
3.2853130000.1802-
3.2980130500.1548-
3.3106131000.1618-
3.3232131500.168-
3.3359132000.1817-
3.3485132500.1416-
3.3611133000.1712-
3.3738133500.1591-
3.3864134000.152-
3.3990134500.1697-
3.4117135000.1826-
3.4243135500.1598-
3.4369136000.1618-
3.4496136500.1784-
3.4622137000.177-
3.4749137500.1643-
3.4875138000.1503-
3.5001138500.15-
3.5128139000.1405-
3.5254139500.1656-
3.5380140000.1455-
3.5507140500.1345-
3.5633141000.1693-
3.5759141500.1688-
3.5886142000.175-
3.6012142500.1229-
3.6138143000.1612-
3.6265143500.1398-
3.6391144000.1917-
3.6518144500.1408-
3.6644145000.1696-
3.6770145500.1951-
3.6897146000.1658-
3.7023146500.1506-
3.7149147000.1843-
3.7276147500.1703-
3.7402148000.1481-
3.7528148500.1761-
3.7655149000.151-
3.7781149500.1919-
3.7908150000.1784-
3.8034150500.1708-
3.8160151000.1864-
3.8287151500.125-
3.8413152000.1405-
3.8539152500.1528-
3.8666153000.1598-
3.8792153500.1708-
3.8918154000.1576-
3.9045154500.1602-
3.9171155000.1466-
3.9297155500.1323-
3.9424156000.14-
3.9550156500.1845-
3.9677157000.1306-
3.9803157500.165-
3.9929158000.1612-
4.0056158500.1679-
4.0182159000.1475-
4.0308159500.1414-
4.0435160000.1436-
4.0561160500.1878-
4.0687161000.12-
4.0814161500.164-
4.0940162000.1419-
4.1066162500.1358-
4.1193163000.1443-
4.1319163500.1549-
4.1446164000.1468-
4.1572164500.1943-
4.1698165000.1185-
4.1825165500.1371-
4.1951166000.123-
4.2077166500.1428-
4.2204167000.1285-
4.2330167500.1476-
4.2456168000.1642-
4.2583168500.1747-
4.2709169000.1621-
4.2835169500.1585-
4.2962170000.1524-
4.3088170500.1207-
4.3215171000.1466-
4.3341171500.1543-
4.3467172000.1425-
4.3594172500.1549-
4.3720173000.137-
4.3846173500.1559-
4.3973174000.158-
4.4099174500.1376-
4.4225175000.1622-
4.4352175500.1565-
4.4478176000.1787-
4.4604176500.1748-
4.4731177000.1614-
4.4857177500.1473-
4.4984178000.1358-
4.5110178500.1658-
4.5236179000.1743-
4.5363179500.148-
4.5489180000.1188-
4.5615180500.17-
4.5742181000.1487-
4.5868181500.1496-
4.5994182000.1299-
4.6121182500.1355-
4.6247183000.1505-
4.6374183500.1333-
4.6500184000.1446-
4.6626184500.149-
4.6753185000.1622-
4.6879185500.1409-
4.7005186000.1488-
4.7132186500.148-
4.7258187000.1308-
4.7384187500.1618-
4.7511188000.1545-
4.7637188500.1594-
4.7763189000.16-
4.7890189500.1666-
4.8016190000.1509-
4.8143190500.1356-
4.8269191000.1429-
4.8395191500.1695-
4.8522192000.1409-
4.8648192500.1486-
4.8774193000.1338-
4.8901193500.1536-
4.9027194000.1605-
4.9153194500.157-
4.9280195000.1298-
4.9406195500.1496-
4.9532196000.1406-
4.9659196500.1275-
4.9785197000.1464-
4.9912197500.1518-
5.0038198000.1543-
5.0164198500.144-
5.0291199000.1595-
5.0417199500.1522-
5.0543200000.1513-
5.0670200500.1561-
5.0796201000.1521-
5.0922201500.1339-
5.1049202000.1297-
5.1175202500.1635-
5.1301203000.1373-
5.1428203500.1673-
5.1554204000.1431-
5.1681204500.1377-
5.1807205000.1572-
5.1933205500.1237-
5.2060206000.1688-
5.2186206500.1542-
5.2312207000.1604-
5.2439207500.1515-
5.2565208000.1315-
5.2691208500.1337-
5.2818209000.1817-
5.2944209500.1256-
5.3071210000.151-
5.3197210500.1625-
5.3323211000.1264-
5.3450211500.1338-
5.3576212000.1365-
5.3702212500.132-
5.3829213000.1497-
5.3955213500.138-
5.4081214000.1536-
5.4208214500.1524-
5.4334215000.1602-
5.4460215500.1554-
5.4587216000.1378-
5.4713216500.1463-
5.4840217000.1607-
5.4966217500.1738-
5.5092218000.1513-
5.5219218500.1482-
5.5345219000.1164-
5.5471219500.152-
5.5598220000.1505-
5.5724220500.1356-
5.5850221000.1485-
5.5977221500.1261-
5.6103222000.1529-
5.6229222500.1286-
5.6356223000.1316-
5.6482223500.1548-
5.6609224000.1813-
5.6735224500.1564-
5.6861225000.1356-
5.6988225500.156-
5.7114226000.1355-
5.7240226500.1236-
5.7367227000.145-
5.7493227500.1494-
5.7619228000.1346-
5.7746228500.1503-
5.7872229000.1404-
5.7998229500.1384-
5.8125230000.156-
5.8251230500.1556-
5.8378231000.1313-
5.8504231500.1657-
5.8630232000.1687-
5.8757232500.1532-
5.8883233000.1829-
5.9009233500.1613-
5.9136234000.1362-
5.9262234500.127-
5.9388235000.1461-
5.9515235500.1334-
5.9641236000.1527-
5.9768236500.1682-
5.9894237000.1549-
-1-1-0.7238

</details>

Framework Versions

  • —Python: 3.10.18
  • —Sentence Transformers: 5.1.1
  • —Transformers: 4.56.2
  • —PyTorch: 2.7.1+cu128
  • —Accelerate: 1.10.1
  • —Datasets: 4.1.1
  • —Tokenizers: 0.22.1

Citation

BibTeX

Sentence Transformers
bibtex
@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/1908.10084",
}

<!--

Glossary

Clearly define terms in order to be accessible across audiences. -->

<!--

Model Card Authors

Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction. -->

<!--

Model Card Contact

Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors. -->