Model: hojzas/proj9
Author: hojzas
Pipeline: text-classification
Library: setfit
Tags: setfit, safetensors, mpnet, sentence-transformers, text-classification, generated_from_setfit_trainer, dataset:hojzas/proj9-lab1, arxiv:2209.11055, base_model:sentence-transformers/all-mpnet-base-v2, base_model:finetune:sentence-transformers/all-mpnet-base-v2, region:us
Base models (finetune): id: sentence-transformers/all-mpnet-base-v2
Card metadata: library_name: setfit
tags: setfit, sentence-transformers, text-classification, generated_from_setfit_trainer
base_model: sentence-transformers/all-mpnet-base-v2
datasets: hojzas/proj9-lab1
metrics: accuracy
widget:     try:\n        async with aiohttp.ClientSession(headers = fake_headers) as session:\n            async with session.get(url) as response:\n                outcome = response.status\n    except Exception as e:\n        outcome = e.__class__.__name__\n    return (outcome, url),     async with aiohttp.ClientSession() as current_session:\n        pairs = [fetch_url(current_session, url) for url in url_list]\n                res_pairs = await asyncio.gather(*pairs)\n        return res_pairs, tasks = [asyncio.create_task(fetch_single_url(url)) for url in urls]\n    results = asyncio.gather(*tasks)\n    return results,     coros = [get_url(url) for url in urls]\n    results = asyncio.get_event_loop().run_until_complete(asyncio.gather(*coros))\n    return results,     tasks = [download_url(url) for url in urls]\n    results = asyncio.gather(*tasks)\n    return results
pipeline_tag: text-classification
inference: yes
Likes: 0 | All-time downloads: 12
Created: 2024-05-13 11:04:12