Edit model card

FP16 merged version of Smollm for function calling

FP16 merged version of Smollm 360M finetuned with xlam 60k

training data(example)

<|im_start|>system
You are a helpful function calling assistant<|im_end|>
<|im_start|>user
Retrieve reviews for product ID '54321' in the UK with a language preference of 'fr' and starting from the 100th review.
Available functions:
<|tool_start|>{'name': 'loginuser', 'description': 'Logs a user into the system using the provided username and password.', 'parameters': {'username': {'description': "The user's username for login.", 'type': 'str', 'default': 'string'}, 'password': {'description': "The user's password for login in clear text.", 'type': 'str', 'default': 'string'}}}<|tool_end|><|tool_start|>{'name': 'product_reviews', 'description': 'Fetch product reviews from the Real-Time Product Search API, supporting infinite pagination and filtering options.', 'parameters': {'product_id': {'description': 'The product ID for which reviews are to be fetched.', 'type': 'str', 'default': '11577822456427762145'}, 'country': {'description': "ISO 3166-1 alpha-2 country code. Default is 'us'.", 'type': 'str, optional', 'default': 'us'}, 'language': {'description': "ISO 639-1 language code. Default is 'en'.", 'type': 'str, optional', 'default': 'en'}, 'offset': {'description': 'Number of reviews to skip. Valid values are integers from 0 to 30000. Default is None.', 'type': 'str, optional', 'default': ''}, 'rating': {'description': 'Minimum user rating of the reviews to be fetched. Valid values are 1-5. Default is None.', 'type': 'str, optional', 'default': ''}, 'limit': {'description': 'Maximum number of reviews to return. Valid values are integers from 0 to 100. Default is None.', 'type': 'str, optional', 'default': ''}}}<|tool_end|><|tool_start|>{'name': 'product_search', 'description': 'Search for products in a store based on a keyword.', 'parameters': {'store_id': {'description': 'The ID of the store to search in.', 'type': 'str', 'default': '1122'}, 'keyword': {'description': 'The keyword to search for products.', 'type': 'str', 'default': 'womens shoes'}, 'offset': {'description': "The starting point for the search results. Defaults to '0'.", 'type': 'str, optional', 'default': '0'}, 'count': {'description': "The maximum number of products to return. Defaults to '25'.", 'type': 'str, optional', 'default': '25'}}}<|tool_end|><|tool_start|>{'name': 'main_endpoint', 'description': 'Fetches product information from the Amazon Pricing and Product Info API using the given ASIN and domain.', 'parameters': {'asin': {'description': 'The Amazon Standard Identification Number of the product.', 'type': 'str', 'default': 'B07GR5MSKD'}, 'domain': {'description': "The domain from which to fetch the product information (e.g., 'com', 'co.uk').", 'type': 'str', 'default': 'de'}}}<|tool_end|><|tool_start|>{'name': 'product_details', 'description': 'Fetch product details from the given URL using the Axesso Kaufland Data Service API.', 'parameters': {'url': {'description': 'The URL of the product to look up.', 'type': 'str', 'default': 'https://www.kaufland.de/product/349303242/'}}}<|tool_end|><|im_end|>
<|im_start|>assistant
<|function_start|>{'name': 'product_reviews', 'arguments': {'product_id': '54321', 'country': 'uk', 'language': 'fr', 'offset': '100'}}<|function_end|><|im_end|>

Usage

Use like any other Llama model

License

CC-BY-NC-SA

This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.

Downloads last month
13
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for Aarushhh/SmolLM-360M-xlam-60k-merged-fp16

Finetuned
(29)
this model

Dataset used to train Aarushhh/SmolLM-360M-xlam-60k-merged-fp16