Edit model card

SentenceTransformer based on microsoft/mpnet-base

This is a sentence-transformers model finetuned from microsoft/mpnet-base. It maps sentences & paragraphs to a 768-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: microsoft/mpnet-base
  • Maximum Sequence Length: 512 tokens
  • Output Dimensionality: 768 tokens
  • Similarity Function: Cosine Similarity

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: MPNetModel 
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
)

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("DIS-Project/Sentence-Transformer_1")
# Run inference
sentences = [
    "What were the names of the regular battalions in the King's Own (Royal Lancaster Regiment)?",
    'The 1st Royal Lancashire Militia (The Duke of Lancaster\'s Own) was an auxiliary regiment raised in the county of Lancashire in North West England during the 17th Century. Primarily intended for home defence, it saw active service in Ireland under King William III, as well as against the Jacobite Risings of 1715 and 1745. It spent long periods on defence duties during the wars of the 18th Century and early 19th Century, and was stationed on the Ionian Islands during the Crimean War. It later became part of the King\'s Own (Royal Lancaster Regiment) and saw active service in the Second Boer War. After its conversion to the Special Reserve under the Haldane Reforms, it supplied reinforcements to the fighting battalions during World War I. After a shadowy postwar existence the unit was finally disbanded in 1953.\n\nBackground\n\nUniversal obligation to military service in the Shire levy was long established in England, and its legal basis was updated by two Acts of 1557. This legislation placed selected men, the \'Trained Bands\', under the command of a Lord Lieutenant appointed by the monarch; this is seen as the starting date for the organised county militia in England. The trained bands were an important element in the country\'s defence at the time of the Armada in the 1580s, and control of the bands was an area of dispute between King Charles I and Parliament that led to the English Civil War. Lord Wharton had been appointed Lord Lieutenant of Lancashire by Parliament in 1641, and on the outbreak of hostilities in July 1642 he attempted to seize the trained bands\' magazine at Manchester. However, he was forestalled by Lord Strange and William Farington (appointed Commissioner of Array by the King), who had already gained control of the magazines at Liverpool and Preston for the Royalists. The resulting skirmish at Manchester on 15 July, when Strange and his men were driven out by Wharton\'s Parliamentarians, was among the first battles of the war.\n\nOnce Parliament had established full control in 1648 it passed new Militia Acts that replaced lords lieutenant with county commissioners, who were appointed by Parliament or the Council of State, after which the term \'Trained Band\' began to disappear in most counties. Under the Commonwealth and Protectorate, the militia received pay when called out and operated alongside the New Model Army to control the country.\n\nOld County Regiment\n\nAfter the Restoration of the Monarchy, the English Militia was re-established by the Militia Act of 1661 under the control of the king\'s lords-lieutenant, the men to be selected by ballot. It was popularly seen as the \'Constitutional Force\' to counterbalance a \'Standing Army\', a concept that was tainted by association with the New Model Army that had supported Cromwell\'s military dictatorship, and almost the whole burden of home defence and internal security was entrusted to the militia. \n\nThe Lancashire Militia were called out in 1663 when there were rumours of plots against the new regime, and no sooner had they been sent home in October than they were called out again on receipt of new information. Some counties were slacking in training and equipping their men: in 1674 most of the weapons of the Lancashire Militia were found to be defective, and many had to be replaced again in 1689.\n\nNine Years\' War\nFollowing the Glorious Revolution, in which King William III supplanted James II, the militia were called out in 1689. The Lord Lieutenant of Lancashire, William Stanley, 9th Earl of Derby, organised three regiments of foot and three Troops of horse from the County palatine of Lancaster:\n Colonel the Earl of Derby – 7 companies\n Colonel Roger Nowell – 7 companies\n Colonel Alexander Rigby – 8 companies\n The Earl of Derby\'s Troop\n Captain Thomas Greenhalgh\'s Troop\n Captain Sir Roger Bradshaigh\'s Troop.\n\nThese regiments volunteered for service in William\'s campaign in Ireland. After training on Fulwood Moor, near Preston, the Lancashire brigade, commanded by the Earl of Derby\'s brother, Lieutenant-Colonel the Hon James Stanley (1st Foot Guards), sailed with the army from Wallasey and landed at Carrickfergus on 14 June 1690. It played a full part in the campaign, serving in the Siege of Carrickfergus, at the Battle of the Boyne, and the Siege of Athlone. After a short tour of garrison duty in Dublin, the Lancashire brigade embarked at Howth in September to return to England to be disembodied on 15 October. Lieutenant-Colonel Stanley then recruited a number of veterans from the brigade for the regiment he was joining in Flanders. He succeeded to the command after his colonel was killed at the Battle of Steenkerque, after which the unit became \'Stanley\'s Regiment\' (later the Bedfordshire Regiment). Colonel Stanley succeeded his brother as 10th Earl of Derby and Lord Lieutenant of Lancashire in 1702.\n\nAt the end of the Nine Years War in 1697 the militia in Lancashire consisted of 1601 men organized into 22 companies and three regiments, with 150 horsemen in three Troops. The three colonels were Major-General the Earl of Macclesfield (lord lieutenant), Roger Kirkby, MP, and Sir Ralph Assheton, 2nd Baronet, of Middleton, MP.\n\nJacobite Rising of 1715\n\nAfter the outbreak of the Jacobite Rising of 1715 the Lancashire Militia was ordered in August to assemble at Lancaster Castle under the command of Col Philip Hoghton. He found that fewer than half of the balloted men turned out, only 560 in all, enough to organise a single battalion. When a force of reputedly 3–4000 Scottish Highlanders and English Jacobites advanced from Carlisle, Hoghton was ordered to fall back from Lancaster to Preston to await further orders. He marched out early on 7 November and the Jacobites entered Lancaster the same day, taking over the ordnance stores in the castle. From Preston the Lancashire Militia and a newly arrived regiment of dragoons were ordered to Wigan, and the Jacobites occupied Preston on 9 November, where they built street barricades and placed the town in a state of defence. However, they were disappointed by the small number of Lancashire Jacobites who joined them, about 1200 badly-armed men. Major-General Charles Wills reached Wigan from Manchester on 11 November with a considerable force of government troops. Further troops under Lieutenant-General George Carpenter were also approaching from Clitheroe.\n\nWills advanced on Preston next day, and finding the bridge over the River Ribble unguarded, began his attack on the town. Brigadier-General Philip Honywood led the Lancashire Militia together with three dismounted troops of dragoons against the barricade at the west end of Fishergate. They first stormed the houses west of the churchyard and set fire to them as a diversion to assist the column attacking the churchyard barricade, and then moved against Fishergate, preceded by skirmishers. Colonel Hoghton detached the left wing of the Lancashire Militia and a troop of dragoons to attack the Friargate barricade while he led the right wing and remaining dragoons in columns of attack against Fishergate. Hoghton and his men reached the top of the barricade but were driven back by heavy musketry fire from the neighbouring houses, having suffered serious casualties; Honywood ordered them to withdraw. The attack at Friargate fared no better. But the Government troops renewed the attack after dark, Col Hoghton leading his men silently up to the Fishergate barricade then rushed it with the bayonet. The rebels took refuge in the houses, which were set on fire, and the street fighting continued by the light of the fires. Carpenter\'s troops arrived in the morning, to relieve the exhausted militia and completely invest the town, poised to complete the task of capturing it. A brigade of Dutch troops was also about to arrive, having marched from London. The rebel commanders, realising that they could hold out no longer, surrendered.\n\nThe Lancashire Militia had four officers killed, seven wounded, and 105 non-commissioned officers (NCOs) and privates killed and wounded, around a third of the total government casualties at the Battle of Preston. On 16 November the regiment marched back to Lancaster with 250 prisoners to be lodged in the castle. It remained there for the rest of the year, escorting parties of prisoners for trial, until it was disembodied about 15 January 1716.\n\nJacobite Rising of 1745\nThe Lancashire Militia was next called out for service against the Jacobite Rising of 1745. Orders to embody the militia were issued to the lord lieutenant, Edward Stanley, 11th Earl of Derby, on 26 September after the government\'s forces had been defeated at the Battle of Prestonpans. Derby complained that although there were sufficient weapons (though of poor quality), the three regiments of foot and three troops of horse had not been called out for training in the 30 years since the Battle of Preston. He and his deputy lieutenants scrambled to raise money and find officers and army pensioners who could train the raw troops gathering at Bury. By 5 November Derby had assembled a regiment of eight companies. The Lancaster and Lonsdale Company, under the command of Captain William Bradshaw, was left at Lancaster to guard the ordnance stores and prison there. Major William Ffarington of Shaw Hall, Leyland, was sent with a detachment of two companies to guard Chorley. In the meantime, the Corporation of Liverpool had raised a 648-strong volunteer regiment, the Liverpool Blues, which was fully armed and could be put into the field. \n\nOn 17 November the Jacobite army reached Carlisle, which soon surrendered, and began moving south. Two days later Derby ordered the companies at Bury and Chorley to concentrate at Liverpool, and ordered Bradshaw to requisition as many waggons and carts as he could to move the ordnance stores out of Lancaster to \'a secure and secret place\' at Ulverston. These moves were carried out next day, regimental headquarters (HQ) was established at the Talbot Hotel in Liverpool, and the Earl handed over command to Maj Ffarington. The commander of the government forces, Field Marshal George Wade, advised the militia to operate in small bodies to harry the advancing rebel army, firing from hedges and preventing it from sending out plundering parties. The Jacobites reached Lancaster on 24 November and Preston on 27 November, while detachments marched through Wigan, Chorley and Bolton. They hoped to gather recruits in Lancashire but were disappointed until they reached Manchester on 28 November, where there were sufficient volunteers to form the Manchester Regiment.\n\nThe Liverpool Blues, being better armed and equipped than the Lancashire Militia, were sent out on 29 November under Colonel Campbell to Warrington to prevent the rebels from using the bridge over the Mersey. As darkness approached they opened fire on what was thought to be a group of Highlanders but turned out to be a flock of geese. Next day they repulsed the Jacobite detachment from Preston, and broke down Warrington Bridge. On 1 December Col Campbell marched to Cheadle and Stockport, blowing up the bridges there and forcing the Jacobite artillery and baggage to cross by temporary rafts. After feinting towards Wales, the Jacobites reached Derby on 4 December. Government forces were now closing in on the Jacobite army and it was clear that there was not going to be an uprising in their favour in England. The Jacobite commanders decided to retreat to Scotland. Hindered by the Liverpool Blues\' demolitions, they did not reach Manchester until 8 December, with stragglers being picked off by the Blues.\n\nThe advance guards of the government forces under Maj-Gens James Oglethorpe and Sir John Ligonier joined the Liverpool Blues at Lancaster on 14 December. Next day Capt Bradshaw and his company (95 all ranks) arrived from Ulverston with orders to put himself under Campbell\'s command. By now the Duke of Cumberland had arrived to take overall command, and he sent Oglethorpe with his dragoons and the Liverpool Blues to harry the Jacobite rearguard. They marched via Kendal (17 December) and continued over Shap Fell in moonlight and a snowstorm to surprise the Jacobites next morning. The dragoons pursued the Jacobite rearguard through Shap village as far as Clifton Moor, where the Jacobites were drawn up to cover the retreat of their guns across the bridges into Penrith. The Liverpool Blues deployed in front of Clifton, with Bradshaw\'s company and some dragoons covering the road at Clifton Dykes. They piled arms and cooked a meal, then at 20.00 that evening Oglethorpe ordered them to advance in support of his dragoons. Bradshaw\'s company formed on the right of the Liverpool Blues (the position taken by the grenadier company in a line regiment). The delaying action (the Clifton Moor Skirmish) was well handled by the Jacobite commander, Lord George Murray, who led a counter-charge of Highlanders, and Oglethorpe was blamed for the heavy losses suffered by his dragoons in their dismounted attack. The Liverpool Blues followed the Highlanders with volley fire, but the Jacobites succeeded in reaching Penrith with the loss of a few guns and waggons. Bradshaw commended Corporal Shaw of his company for rescuing three people from a burning house in Clifton. The company had lost one killed and three wounded in the two skirmishes at Shap and Clifton\n\nCumberland\'s army followed the Jacobites through Penrith to Carlisle. The Lancashire Militia company was left at Penrith to guard the prisoners, while the Liverpool Blues were present at the 10-day siege of Carlisle Castle. Cumberland marched into Scotland on 4 January 1746 (finally defeating the Jacobites at the Battle of Culloden on 16 April) while the Liverpool Blues escorted the prisoners from Carlisle (including those of the Manchester Regiment) to Lancashire for trial. Bradshaw\'s company similarly escorted the prisoners from Penrith to Lancaster. The Lancashire Militia was then disembodied on 12 January 1746; it was not called out again for training or active service until the Seven Years\' War.\n\n1st Royal Lancashire Militia\n\nSeven Years\' War\nUnder threat of French invasion during the Seven Years\' War a series of Militia Acts from 1757 reorganised the county militia regiments, the men being conscripted by means of parish ballots (paid substitutes were permitted) to serve for three years. Lancashire\'s quota was set at 800 men in one regiment, but despite the enthusiasm of the acting lord lieutenant, Lord Strange, the county was slow to raise its quota. A regiment would have its arms issued from the Tower of London when it reached 60 per cent of its established strength, but in the case of Lancashire this was not until 18 July 1760, and the regiment was finally embodied for service on 23 December that year.\n\nThe regiment assembled on 28 December with six companies at Preston and four at Manchester. After training, it marched on 9 July 1761 to join other militia regiments at Warley Camp in Essex, arriving on 13 August. On 15 October King George III presented the Lancashire Militia with its new Regimental Colours, and on 23 October they were granted the title Royal Lancashire Militia (RLM) with the colonel\'s company designated \'the King\'s Company\'. The regiment then marched to Nottingham for winter quarters. On 11 June 1762 the regiment was marched south again to join the militia camp at Winchester in Hampshire on 30 June. Preliminaries of peace having been signed, the regiment was ordered on 18 October to march back to Lancashire, where it was disembodied at Manchester on 15 December 1762.\n\nIn peacetime, the reformed militia regiments were supposed to be assembled for 28 days\' annual training. In 1763 part of the RLM camped at Fulwood Moor near Preston from 18 May to 14 June, but it was not called out again until 1778.\n\nWar of American Independence\nThe militia was called out after the outbreak of the War of American Independence when the country was threatened with invasion by the Americans\' allies, France and Spain. The Royal Warrant for the embodiment of the Royal Lancashire Militia was issued on 26 March and the regiment was embodied on 1 April 1778 under the command of the 12th Earl of Derby. After six weeks\' training the regiment was marched to camp at Winchester. In October it was billeted among small Hampshire towns: Lymington (HQ + 3 companies), Romsey (3 companies), Ringwood, Christchurch, Downton and Fordingbridge (1 company each). Then in November it marched back to Liverpool for the winter, setting up its HQ at the Talbot Hotel once more.\n\nWhile at Liverpool a large number of unfit and time-expired men were discharged and a new ballot held to refill the ranks, necessitating a great deal of training. In June 1779 the regiment moved to Newcastle upon Tyne, with two companies detached to Sunderland until February 1780 when they relieved the Regular garrison of Tynemouth Castle. In June 1780 the regiment marched to Chester Castle; three companies were detached at Macclesfield and two at Nantwich. It spent the winter from November 1780 at Manchester, with some companies detached to Warrington. In June 1781 two companies each from Manchester and Warrington moved to Chester, returning to Warrington the following November. By now the regiment was organised like the regulars with a Grenadier Company (the King\'s Company), a Light Company, and eight line or \'hat\' companies. From April 1782 the regiment was broken up in detachments across Cumberland: Carlisle Castle (4 companies), Cockermouth (2 companies), Workington (2 companies), Whitehaven and Maryport (1 company each). Although Cumberland was remote from a possible French invasion, Whitehaven had been attacked by John Paul Jones in 1778. The regiment remained at these stations until 22 January 1783, when two companies were ordered from Carlisle Castle to Lancaster, and then on 17 February marched with HQ from Lancaster to Manchester. By now a peace treaty had been drawn up (it was signed in September) and orders were issued to the Earl of Derby on 28 February to disembody the RLM. This was carried out at Manchester in March 1783. The Earl of Derby then resigned the colonelcy to concentrate on his parliamentary duties; he nominated a distant kinsman, Thomas Stanley of Cross Hill, MP, to succeed him.\n\nFrom 1784 to 1792 the militia were generally assembled for their 28 days\' annual training, but to save money only two-thirds of the men were actually called out each year. However, it appears that the Royal Lancashire Militia did no training until the Stanleys called them out in 1790.\n\nFrench Revolutionary War\nThe militia were re-embodied in January 1793 shortly before Revolutionary France declared war on Britain. The Royal Lancashire Militia assembled at Preston on 22 January, but on 25 January were ordered to disperse across Lancashire – Liverpool (4 companies), Wigan (3 companies), Blackburn (2 companies) and Chorley (1 company) – which hindered training. \n\nDuring the French Wars the militia were employed anywhere in the country for coast defence, manning garrisons, guarding prisoners of war, and for internal security, while the regulars regarded them as a source of trained men if they could be persuaded to transfer. Their traditional local defence duties were taken over by the part-time Volunteers and later by a compulsory Local Militia.\n\nIn February 1793 the civil authorities in the West Riding of Yorkshire feared an outbreak of disorder and requested a military force. The RLM was sent, with HQ and four companies going to Leeds, three companies to Halifax, then to Sheffield and Barnsley, and three to Wakefield, Horset and Horbury. When regular troops arrived to keep the peace in May the RLM was moved to Doncaster, with detached companies at Bawtry, Blyth, Retford and Moorgate. During the rest of the year companies and pairs of companies went out to other towns before returning to Doncaster. In April 1794 the regiment was moved to the East Midlands, with six companies at Stamford and four at Peterborough. In June 1794 the RLM joined the great anti-invasion camp on the South Downs above Brighton, which included regular and fencible regiments as well as militia. In November it moved to winter quarters across Kent, with HQ at Canterbury Barracks. In 1795 it went to Dover Castle, spending May in camp at Hythe, returning to Canterbury in October with the companies in billets across north Kent. The regiment was then moved to billets around Greenwich and Deptford in November as part of a concentration round London to prevent disorder. In the spring of 1796 detachments were marched through Surrey before returning to Greenwich, then in June the regiment crossed to Warley Camp before going into winter quarters at Chelmsford.\n\nLancashire\'s militia quota set in 1760 was small in proportion to its population, which soared during the Industrial Revolution. By 1796 it represented only one man in every 43 of those eligible. But in that year an additional ballot was carried out to raise men for the \'Supplementary Militia\' to reinforce the standing militia regiments and to form additional temporary regiments. Lancashire\'s quota was increased to five regiments, and on 1 March 1797 the RLM was ordered to send a party to Lancaster to begin training them. Although recruitment of such large numbers became difficult, the 1st Royal Lancashire Supplementary Militia was raised on 1 March 1797 at Liverpool under the personal command of the 13th Earl of Derby as lord lieutenant. On 17 August 1798 it was placed on a permanent footing as the 2nd Royal Lancashire Militia (2nd RLM), after which the \'Old County Regiment\' became the 1st Royal Lancashire Militia (1st RLM).\n\nIn March 1797 the 1st RLM was scattered across villages north of London, but on 11 April it was ordered to Plymouth, where it was quartered at the Maker Redoubts overlooking Plymouth Sound for the rest of the year. By the end of the year, with so many senior officers in parliament and the parties away training the supplementary militia, the strength of the regiment at Plymouth was down to about 400 men, under the command of the senior captain. Two of the companies may have been organised and equipped as rifle companies at this time.\n\nIrish Rebellion\nIn March 1798 legislation was passed to allow the militia to volunteer for service in Ireland, where a Rebellion had broken out. The 1st Royal Lancashire Militia immediately volunteered, and the regiment was recruited to full strength (1200 men) from the supplementary militia to replace the time-expired men. The contractors having failed to provide enough uniforms in time, the 136 time-expired men were stripped of their uniforms, hats and boots to clothe the recruits, leading to a serious complaint to the War Office about their treatment. The recruits arrived at Plymouth from Lancashire and the regiment embarked at the end of June. But the news from Ireland having improved the voyage was cancelled and the regiment returned to camp on Maker Heights. It was not until the end of August that the 1st RLM embarked again as part of a militia brigade in response to the French intervention in Ireland. The regiment landed at Ballyhack in Waterford Harbour on 11 September and then marched to New Ross, preparatory to moving north. However, the French expedition had already been defeated at the Battle of Ballinamuck, and the follow-up expedition was defeated at sea without landing. When the regiment reached Clonmel on 21 October the rebellion was effectively over. The regiment went into winter quarters but guard and picket duties heavy while the area was still in disorder.\n\nWith the end of the Irish Rebellion the government encouraged militiamen to volunteer for the regular army: the 1st RLM was one of a number of regiments that offered to serve abroad as a complete unit. However the legislation did not allow for this and the offer was declined, though Col Stanley encouraged his men to volunteer as individuals, and some 350 did so, over 150 joining the 20th Foot (later the Lancashire Fusiliers). Meanwhile, the trials of the rebels were continuing, and in May 1799 the militia brigade at Clonmel was put on alert to march at short notice in case of trouble, or of another French landing. In September, after a year\'s service in Ireland, the 1st RLM prepared to embark for England. Before departure one whole company, about 100 strong, recruited from Bolton and its neighbourhood, volunteered to transfer to the 36th Foot. The reduced regiment – about 560 other ranks (ORs) – embarked from Waterford on 9 October, landing at Bristol on 12 October. It rested at Tetbury and then on 21 October it began its march back to Lancashire. On arrival at Preston on 6 November the regiment was ordered to disembody.\n\nThe supplementary militia having been abolished, the remaining balloted men in Lancashire were distributed to the 1st, 2nd and 3rd RLM to fill vacancies – the officers of the 1st RLM complaining about the quality of the men they were assigned. The regiment completed disembodiment on 28 December 1799. It was called out again for training 5 August 1801, assembling at Lancaster (now its permanent HQ). A few days later it was informed that it would be embodied for active service again at the end of the training. On 26 September it began the march to its new station of Tynemouth Castle. On arrival, with the newly balloted men, it had a strength of 900 ORs. The Peace of Amiens was signed on 27 March 1802, and on 1 April the regiment was ordered to march back to Lancaster to disembody once more, apart from the small permanent staff.\n\nNapoleonic Wars\nThe Peace of Amiens was short-lived, and the militia was called out again on 1 April 1803. After establishing a depot at Lancaster to train the newly balloted men the 1st RLM marched on 23 May to join the encampment at Danbury, Essex, under the command of Lt-Col John Plumbe, Col Stanley being unwell. The recruits followed from Lancaster on 20 July, bringing the regiment up to full strength of 1200 men in 12 companies. It remained at Danbury Camp until August 1804, when it was transferred to Brabourne Lees Camp in Kent, and then in June 1805 to Portsmouth. In August and September 1805 the 1st RLM was at Weymouth, Dorset, while the royal family was in residence, then in October moved to Exeter and the surrounding villages, where it spent the winter. In the spring it returned to Weymouth where it trained the newly balloted men, who replaced those time-expired and those who had volunteered for the regulars (one whole company had done so). It returned to Exeter for the winter of 1806, staying there and at Stonehouse Barracks, Plymouth, until May 1809. At that time it was ordered to Tavistock and then to Bristol, detaching 100 men to embark at Ilfracombe to sail to Milford Haven and Haverfordwest to reinforce the garrison there. The detachment rejoined HQ at Bristol in June, and the regiment stayed there until March 1811. During 1810 it had recruiting parties detached to Bolton, Manchester, Preston and Wigan. On 8 March 1811 the 1st RLM was ordered to march from Bristol to Hull; however on 25 March it was diverted en route to deal with Luddite disturbances that had broken out at Nottingham. It was ordered to resumed its march to Hull Barracks on 22 April. In October it was sent to Berwick-upon-Tweed and Tweedmouth, with detachments at Eyemouth and Holy Island. In March 1812 it moved into Scotland, to Dunbar and Haddington, and then to Dalkeith. It remained there, with occasional detachments to Penicuik where there was a large Prisoner-of-war camp to be guarded, until December 1814.\n\nThe militia had become one of the biggest sources of recruits to the regular army, and the 1st RLM was expected to supply a quota of 100 volunteers each year, rising to a draft or 244 men in February 1814. Colonel Plumbe also volunteered the whole regiment for service in Ireland, and roughly half the men agreed to extend their service accordingly. In March 1814 this body (12 officers and about 340 ORs) embarked at Portpatrick for Donaghadee, from where it marched to Belfast and then Athlone, arriving on 14 June. Napoleon had abdicated in April and peace was declared on 30 May, but the 1st RLM had still not been disembodied in February 1815 when he escaped from Elba and the war was resumed. The three regiments of Lancashire Militia, which happened to be stationed together at Dublin, were allowed to recruit back to full strength by ballot and \'by beat of drum\'. They also provided drafts of around 1000 volunteers to the regular regiments being sent to Belgium. The 1st RLM supplied 23 NCOs and men to the 1st Foot Guards, and 11 each to the 33rd Foot and 71st (Highland) Light Infantry, with individuals to other regiments. There is a story that many of the Guardsmen at the Battle of Waterloo were still wearing their Militia uniforms.\n\nWaterloo ended the war, but much of the regular army remained in France as part of the Army of Occupation for several months, and the Lancashire Militia continue their garrison duty at Dublin. The 1st RLM now being very weak, drafts of balloted men continued to be despatched from Lancaster until February 1816, when it was finally ordered to return for disembodiment. It embarked from Dublin on 25 March and landed at Liverpool, arriving at Lancaster on 5 April and being disembodied on 15 April.\n\nLong peace\nMilitia training was suspended in most years after Waterloo, but the 1st RLM was called out for its 28 days\' training in 1821, 1825 and 1831. Balloting continued, but the permanent staff was progressively reduced over the years. Just before the 1831 training King William IV bestowed on the three Lancashire Militia Regiments the additional title The Duke of Lancaster\'s Own. No further militia training took place for the next 21 years. Although officers continued to be appointed to fill vacancies the ballot was suspended.\n\n1852 reforms\nThe Militia of the United Kingdom was revived by the Militia Act of 1852, enacted during a period of international tension. As before, units were raised and administered on a county basis, and filled by voluntary enlistment (although conscription by means of the Militia Ballot might be used if the counties failed to meet their quotas). Training was for 56 days on enlistment, then for 21–28 days per year, during which the men received full army pay. Under the Act, Militia units could be embodied by Royal Proclamation for full-time service in three circumstances:\n 1. \'Whenever a state of war exists between Her Majesty and any foreign power\'.\n 2. \'In all cases of invasion or upon imminent danger thereof\'.\n 3. \'In all cases of rebellion or insurrection\'.\n\nIn the case of the 1st RLM some younger officers were appointed, including John Talbot Clifton of Lytham Hall, formerly of the 1st Life Guards, as colonel, together with new permanent staff officers and regular army NCOs, and the revived regiment was called out for its first 21 day training on 8 November 1852. The staff NCOs and the few experienced officers had their hands full when the special trains brought the 500 undisciplined recruits from Bolton and Manchester, but had made good progress after three weeks\' drilling on Giant Axe Field. The officers\' mess now adopted the traditional Lancashire form of the Loyal toast: \'The Queen, Duke of Lancaster\', which the regiment kept thereafter.\n\nCrimean War\nIn May 1853, in view of the worsening international situation, the government ordered the lord lieutenant (the Earl of Sefton) to recruit the three Lancashire militia regiments up to their full strengths of 1200 each. The 1st RLM was called out for 28 day\'s annual training on 24 May, in which the staff were assisted by drill sergeants from the 50th Foot stationed nearby at Preston.\n\nWar having broken out with Russia in March 1854 and an expeditionary force sent to the Crimea, the Militia were called out for home defence. The 1st RLM assembled at Lancaster on 24 May for 28 days\' training before embodiment. Colonel Clifton had already offered the regiment for overseas service – the first such offer made in this war by a militia regiment – and the government accepted a body of 500 men. On 16 June the regiment divided, 500 men for the service companies, the other 700 dismissed to their homes until further notice. The service battalion travelled by train to Deptford Dockyard, moving on 16 July to Portsmouth. In September, training began with the new Enfield rifled musket. In November there was a call to reinforce the army in the Crimea, and 250 men from the service companies of the 1st RLM volunteered. It was not until December that Parliament passed Acts allowing whole militia regiments to volunteer, and recalling out the men who had been disembodied in order to fill the vacancies.\n \nThe regiment now prepared to embark for the Ionian Islands (then a British protectorate) to release the garrison to fight in the Crimea. The men who had not volunteered or were unfit for overseas service were formed into a regimental depot at Fort Cumberland, Portsmouth. The depot returned to Lancaster on 1 March 1855, and the service companies embarked on the transport Calcutta two days later. It sailed on 4 March and they disembarked at Corfu on 16 March, taking up quarters in the Citadel Barracks, with detachments on the islands of Fano, Paxo and Santa Maura. Its first task was to send the Grenadier Company on 20 March to suppress a riot on Vido among the convalescent soldiers from the Crimea. On 15 May the bulk of the regiment re-embarked for Zante, leaving detachments on Santa Maura, Cerigo and Cephalonia. In September there was a cholera outbreak at Zante, and in two weeks the regiment lost one officer, two NCOs and 275 men dead, and 54 invalided home. Two drafts of reinforcements arrived from the depot at Lancaster, 150 men on 25 November and 250 more on 15 January 1856. The Grenadier Company at Santa Maura had been unaffected by cholera, and was chosen to go to the Crimea to reinforce the army for its projected operations following the fall of Sevastopol in September 1855 (the only militia unit accepted). However, there were no further operations and the war ended on 30 March 1856 before the company had left the islands. The 1st RLM embarked on the troopship Colombo on 21 May, but its passage was delayed when the ship ran aground at Argostoli Bay, where it had gone to pick up the Grenadier Company. The ship was deemed to be overcrowded, and two companies were left at Malta to follow by a later steamer. The main body reached Portsmouth on 3 June, and went by trains to Lancaster on 8 and 9 June. The two companies from Malta were not disembodied until 16 July. After the regiment was disembodied it was awarded the Battle honour Mediterranean for its service.\n\nFurther militia regiments had been raised in Lancashire after 1852, bringing the total to seven of infantry and one of artillery. Each had its own recruiting areas across the county, those of the 1st RLM being Bolton (Great and Little), Fylde, Lancaster and Manchester. During the Crimean War the depot of the 1st RLM built a barracks on Windy Hill at Lancaster for 200 men and a storehouse with a parade ground for 800 men later known as Springfield Barracks. Plans to convert some old warehouses at St Georges Quay were scrapped when the war ended. Annual training for the 1st RLM resumed in 1857. It was usually held on Giant Axe Field, but at Ulverston when camp coincided with elections in Lancaster. In some years a joint field day was held with one of the Lancashire Rifle Volunteer Corps during annual training. From 1876 the regiment adopted the practice of camping at Scale Hall field, about  from Lancaster, during its annual training.\n\nCardwell reforms\n\nUnder the \'Localisation of the Forces\' scheme introduced by the Cardwell Reforms of 1872, Militia regiments were brigaded with their local regular and Volunteer battalions – for the 1st RLM this was with the 4th (King\'s Own) Regiment of Foot in Sub-District No 11 (County of Lancaster). The Militia now came under the War Office rather than their county lords lieutenant, and officers\' commissions were signed by the Queen.\n\nAlthough often referred to as brigades, the sub-districts were purely administrative organisations, but in a continuation of the Cardwell Reforms a mobilisation scheme began to appear in the Army List from December 1875. This assigned regular and militia units to places in an order of battle of corps, divisions and brigades for the \'Active Army\', even though these formations were entirely theoretical, with no staff or services assigned. The 1st, 2nd and 3rd Royal Lancashire Militia formed 1st Brigade of 3rd Division, VI Corps. The brigade would have mustered at Manchester in time of war.\n\nThe Hon Frederick Stanley, MP, formerly captain in the Grenadier Guards, was appointed lieutenant-colonel commandant of the regiment (later of the 1st Battalion) on 23 June 1874, the rank of colonel in the militia having been abolished. He was also Financial Secretary to the War Office from 1874 to 1877, and Secretary of State for War 1878–80, which meant that he was often absent during training.\n\nCardwell\'s localisation scheme provided for the regular and militia regiments to be linked in pairs, sharing a single permanent depot. The 4th (King\'s Own) already had two battalions; the 1st RLM split to form its own second battalion on 26 September 1877, each being initially of six companies. A new regimental depot, Bowerham Barracks, was built at Lancaster between 1876 and 1880.\n\nMilitia battalions now had a large cadre of permanent staff (about 30). Around a third of the recruits and many young officers went on to join the regular army. In addition, the Militia Reserve introduced in 1867 consisted of present and former militiamen who undertook to serve overseas in case of war. During the international crisis caused by the Russo-Turkish War in 1877, the 1st RLM offered its service and was informed that it might be embodied for garrison duty. In the event the militia was not embodied, but the regular and militia reserves were called out the following year, those belonging to Sub-District No 11 assembling at Lancaster on 3 April. On 22 April they entrained to join the depot of the 4th (King\'s Own) at the Portsdown Hill Forts, where they served until 30 July when they were dismissed to heir homes.\n\n3rd and 4th Battalions, King\'s Own (Royal Lancaster Regiment)\nThe Childers Reforms of 1881 took Cardwell\'s reforms further, with the linked regular and militia regiments becoming single county regiments. In the case of the Lancaster district this was the King\'s Own (Royal Lancaster Regiment) (\'The King\'s Own\') of four battalions: the 1st and 2nd were the regulars, while the 1st Royal Lancashire Militia (The Duke of Lancaster\'s Own) became the 3rd and 4th Bns, together with affiliated Volunteer Force battalions. As the regimental history put it, the 1st and 2nd Bns King\'s Own had amalgamated with the 1st and 2nd Bns Duke\'s Own. The two militia battalions continued to be administered as a single double-battalion regiment until 1 August 1900.\n\nIn 1882 the 3rd and 4th Battalions began their annual training at Lancaster on 3 July, but at the end of the month their training was extended for 56 days, embodying them for garrison duty during the crisis surrounding the Anglo-Egyptian War. Both battalions entrained for Preston on 31 July, and went to Fulwood Barracks, which were grossly overcrowded by the arrival of their 12 companies in addition to the reservists of the regular regiment stationed there. The two battalions returned to Lancaster on 26 August to be disembodied.\n\nSecond Boer War\nAfter the disasters of Black Week at the start of the Second Boer War in December 1899, most of the regular army was sent to South Africa, and many militia units were embodied to replace them for home defence and to garrison certain overseas stations. The 4th Bn King\'s Own was embodied on 13 December 1899 and the 3rd Bn on 23 January 1900. Both battalions volunteered for overseas service.\n\nThe 4th Battalion left first, embarking with a strength of 25 officers and 666 ORs under the command of Lt-Col W. Kemmis and landing at Cape Town on 1 February 1900. It proceeded to the advanced base at Naauwpoort and was employed on the lines of communication with detachments guarding towns, bridges and culverts between Norvalspont and Port Elizabeth, Graaff-Reinet and Hanover Road. In August 1900 a column consisting of 200 men of the battalion and 40 of Nesbitt\'s Horse carried out a demonstration through the disaffected district of Hanover. On 30 December the Boers attacked and burned a train at the \'Gates of Hell\' about  from Naauwpoort: two companies of the battalion only arrived in time to exchange a few shots with the retiring enemy. In December, Lt-Col Kemmis was appointed commandant of Naauwpoort. On 23 February 1901 2nd Lt Hunt with 30 men guarding the Fish River bridge and station successfully held off Commandant Kritzinger and about 250 Boers for four hours before the armoured train came to their assistance and drove off the Boers. On 7 March Capt Worsley Taylor with 40 men of the 4th Bn and about 60 Mounted infantry (MI) was attacked by a superior force while repairing the Colesberg–Philippolis telegraph line. Taylor and his men took up a defensive position on a Kopje and held it for 24 hours until a relief column arrived from Colesberg. On 29 May Battalion HQ moved to Norvalspont and the battalion occupied the northern bank of the Orange River. Finally, it concentrated at De Aar on 5 July preparatory to embarking for home. During the campaign the battalion lost one officer and 21 ORs killed or died of disease. The 4th Bn was disembodied on 3 August 1901. It was awarded the battle honour South Africa 1900–01, and the officers and men received the Queen\'s South Africa Medal with the clasps \'Cape Colony\', \'Orange Free State\', and \'South Africa 1901\'.\n\nThe 3rd Bn embarked for South Africa with a strength of 25 officers and 686 ORs under the command of Col B.N. North. It landed at Cape Town on 1 March 1900 and was deployed along the lines of communication in Orange River Colony, with Battalion HQ and three companies guarding the important railway bridge and supply depot at Zand River Bridge. They were attacked on 14 March by a Boer force that included artillery, driving them off after a day\'s fighting. The battalion also supplied an MI company that took part in the action at Ventersburg with a column under Col North operating with armoured trains. This force obliged the Boers to abandon their position at Zeegatacht, near Brandfort, on 16 January 1901, and North with the MI and armoured train drove them from Huten Beck on 28 January. At this time the rest of the battalion was holding the blockhouse line and railway from Kroonstad to Bloemfontein, driving off several attacks. In October 1901 the battalion was divided into several detachments that engaged Theron\'s Commando around Ceres. The battalion re-assembled on 10 January 1902 to embark for England, where it was disembodied on 8 February 1902. During the campaign the battalion had lost 51 ORs killed or died of disease. It was awarded the battle honour South Africa 1900–02, the Queen\'s South Africa Medal with the clasps \'Cape Colony\' and \'Orange Free State\', and the King\'s South Africa Medal with the clasps \'South Africa 1901\' and \'South Africa 1902\', and Lt-Col North was awarded a Companionship of the Order of the Bath (CB).\n\nSpecial Reserve\nAfter the Boer War, the future of the Militia was called into question. There were moves to reform the Auxiliary Forces (Militia, Yeomanry and Volunteers) to take their place in the six Army Corps proposed by the Secretary of State for War, St John Brodrick. However, little of Brodrick\'s scheme was carried out. Under the more sweeping Haldane Reforms of 1908, the militia was replaced by the Special Reserve, (SR) a semi-professional force whose role was to provide reinforcement drafts for Regular units serving overseas in wartime, rather like the earlier Militia Reserve. The 3rd Battalion became the 3rd (Reserve) Battalion, King\'s Own, on 19 July 1908, but the 4th Bn was disbanded on 31 August.\n\nWorld War I\n\nOn the outbreak of war on 4 August 1914 the battalion was embodied at Lancaster under Lt-Col J.M.A. Graham. It then moved to its war station at Saltash, Cornwall, for a few days before the bulk of the battalion moved to Sunderland. It probably helped to organise the 10th (Reserve) Battalion, King\'s Own, from Kitchener\'s Army volunteers, when that was formed at Saltash in October 1914. From 1915 to 1917 the 3rd Bn was at Plymouth, but by November 1917 it had moved to Harwich. As well as forming part of the Plymouth and Harwich Garrisons, the battalion\'s role was to train and despatch drafts of reservists, special reservists, recruits and returning wounded for the regular battalions. The 1st King\'s Own served on the Western Front, while the 2nd Bn returned from India and after a few months on the Western Front spent the rest of the war on the Macedonian Front. \n\nThousands of men for the regular battalions would have passed through the ranks of the 3rd Bn during the war. It was disembodied on 30 July 1919, when the remaining personnel were drafted to the 1st Bn.\n\nPostwar\nThe SR resumed its old title of Militia in 1921 and then became the Supplementary Reserve in 1924, but like most militia battalions the 3rd King\'s Own remained in abeyance after World War I. By the outbreak of World War II in 1939, no officers remained listed for the battalion. The militia was formally disbanded in April 1953.\n\nCommanders\nThe following officers commanded the regiment as Colonel, as Honorary Colonel, or served as Lt-Col Commandant of one of its battalions:\n William Stanley, 9th Earl of Derby appointed 1689\n Philip Hoghton, appointed 1 June 1715\n Edward Stanley, 11th Earl of Derby appointed 25 October 1745\n James Smith-Stanley, Lord Strange, appointed 15 July 1760, died 1 June 1771\n Edward Smith-Stanley, 12th Earl of Derby appointed 14 February 1772, resigned\n Thomas Stanley of Cross Hill, MP, appointed 28 October 1783, died 26 December 1816\n Peter Patten Bold, appointed 8 June 1817, died 1819\n John Plumbe-Tempest, promoted 4 November 1819, resigned 1852\n John Talbot Clifton, formerly 1st Life Guards, appointed 2 October 1852, resigned 1870\n William Assheton Cross, promoted 8 December 1870, appointed Hon Col 13 May 1871\n Robert Whitle, appointed 31 May 1872.\n Frederick Stanley, 16th Earl of Derby, KG, GCB, GCVO, Lt-Col Commandant, 1st Bn, 23 June 1874; appointed Hon Col 27 February 1886, died 14 June 1908\n Thomas Dawson Sheppard, Lt-Col Commandant, 2nd Bn, 26 September 1877\n George Blucher Heneage Marton, 20 March 1886, Lieutenant-Colonel Commandant, commanding 3rd Battalion.\n Joseph Lawson Whalley, 26 November 1887, commanding 4th Battalion\n B.N. North, CB, MVO, former Lt-Col Commandant, 3rd Bn, appointed Hon Col 19 July 1908\n\nUniforms & Insignia\nThe uniform of the Royal Lancashire Militia was red with the blue facings appropriate to \'Royal\' regiments. The regimental colour presented in 1761 was blue and bore the coat of arms of the Duchy of Lancaster (on a shield gules, three lions of England (passant gardant) or, in chief a label azure of three points, each charged with three fleur-de-lis of France). The regimental colour presented by Queen Charlotte at Weymouth in 1806 simply carried the words \'FIRST ROYAL LANCASHIRE MILITIA\' surrounded by a wreath of roses, thistles and shamrocks.\n\nAs a reward for its service in Ireland in 1798 the badge of the \'Harp and Crown\' was bestowed on the regiment, and the \'Red Rose of Lancaster\' in 1803. The set of colours believed to have been presented by the Lord Lieutenant of Ireland when the regiment was stationed in Dublin in 1816 bore the harp in the centre of the King\'s colour and the crowned red rose with \'LANCASTER\' in Old English script in the three outer corners of the regimental colour. The colonel\'s wife, Mrs Clifton, presented new colours to the reformed regiment in 1853 and again in 1870 after the regulation size of colours was made smaller. The regimental colour bore a red rose inside a circle with the words \'DUKE OF LANCASTER\'S OWN\' surrounded by a wreath of roses, thistles and shamrocks. Above was a crown, below were the Roman numeral \'I\' and two scrolls, the upper saying \'ROYAL LANCASHIRE MILITIA\', the lower the battle honour \'MEDITERRANEAN\'; the crown, numeral and upper scroll also appeared on the Queen\'s colour. The smaller 1870 colours were similar, but the numeral I had disappeared and the scroll now read \'1. ROYAL LANCASHIRE MILITIA\'. Lady Constance Stanley presented the 2nd Bn\'s colours in 1880: the design was the same, but the lettering on the scrolls was \'First Royal Lancashire Militia, 2nd Battalion, Mediterranean\', which was repeated in black on a yellow ground in the centre of the Queens colour.\n\nAbout 1790 the buttons had the letters \'RL\' inside a crowned star; the figure \'1\' was added above the letters after the creation of the 2nd RLM, and these buttons were retained until 1829. The officers\' shako plate in 1812–16 consisted of the stylised cipher \'GR\' above an enamelled red rose, with a silver spray of leaves beneath and the numeral \'1\' at the bottom, the whole plate a highly stylised escutcheon topped with a crown. The ORs\' plate was plain brass, the word \'LANCASTER" appearing between the cipher and rose, and no numeral at the bottom. The cap badge of 1852 was circular, with \'LANCASTER\' in Old English lettering above a red rose, a spray of leaves below; the officer\'s belt plate carried this badge without the spray of leaves but surmounted by a crown, on a decorated star. The OR\'s Glengarry badge of 1874–81 had the royal crest (a crowned lion statant gardant on a crown) over the red rose within a spray of grass, with a scroll underneath inscribed \'THE DUKE OF LANCASTER\'S OWN\'.\n\nIn 1881 the regiment combined the insignia of the King\'s Own and the Duke\'s Own, with the Red Rose of Lancaster surmounted by the Lion of England. Later this was replaced by the lion over the words \'KING\'S OWN\'.\n\nPrecedence\nIn September 1759 it was ordered that militia regiments on service were to take their relative precedence from the date of their arrival in camp. In 1760 this was altered to a system of drawing lots where regiments did duty together. During the War of American Independence all the counties were given an order of precedence determined by ballot each year, beginning in 1778. For the Lancashire Militia the positions were:\n 38th on 1 June 1778\n 43rd on 12 May 1779\n 30th on 6 May 1780\n 12th on 28 April 1781\n 32nd on 7 May 1782\n\nThe militia order of precedence balloted for in 1793 (when Lancashire was 37th) remained in force throughout the French Revolutionary War: this covered all the regiments formed in the county. Another ballot for precedence took place at the start of the Napoleonic War, when Lancashire was 52nd. This order continued until 1833. In that year the King drew the lots for individual regiments and the resulting list remained in force with minor amendments until the end of the militia. The regiments raised before the peace of 1763 took the first 47 places: the 1st RLM was 45th. Formally, the regiment became the 45th, or 1st Royal Lancashire Militia, but the 1st RLM like most regiments seems to have paid little attention to the additional number.\n\nSee also\n Militia (English)\n Militia (Great Britain)\n Militia (United Kingdom)\n Special Reserve\n Lancashire Militia\n King\'s Own Royal Regiment (Lancaster)\n\nFootnotes\n\nNotes\n\nReferences\n\n W.Y. Baldry, \'Order of Precedence of Militia Regiments\', Journal of the Society for Army Historical Research, Vol 15, No 57 (Spring 1936), pp. 5–16.\n Ian F.W. Beckett, The Amateur Military Tradition 1558–1945, Manchester: Manchester University Press, 1991, .\n Burke\'s Peerage, Baronetage and Knightage, 100th Edn, London, 1953.\n W.Y. Carman, \'Militia Uniforms 1780\', Journal of the Society for Army Historical Research, Vol 36, No 147 (September 1958), pp. 108–9.\n Col John K. Dunlop, The Development of the British Army 1899–1914, London: Methuen, 1938.\n Cross Fleury, Time-Honoured Lancaster: Historic Notes on the Ancient Borough of Lancaster, Lancaster: Eaton & Bulfield, 1891.\n Sir John Fortescue, A History of the British Army, Vol I, 2nd Edn, London: Macmillan, 1910.\n Sir John Fortescue, A History of the British Army, Vol II, London: Macmillan, 1899.\n Sir John Fortescue, A History of the British Army, Vol III, 2nd Edn, London: Macmillan, 1911.\n Sir John Fortescue, A History of the British Army, Vol IV, Pt II, 1789–1801, London: Macmillan, 1906.\n J.B.M. Frederick, Lineage Book of British Land Forces 1660–1978, Vol I, Wakefield: Microform Academic, 1984, .\n Lt-Col James Moncrieff Grierson (Col Peter S. Walton, ed.), Scarlet into Khaki: The British Army on the Eve of the Boer War, London: Sampson Low, 1899/London: Greenhill, 1988, .\n H.G. Hart, The New Annual Army List (various dates).\n Col George Jackson Hay, An Epitomized History of the Militia (The Constitutional Force), London:United Service Gazette, 1905/Ray Westlake Military Books, 1987, .\n Richard Holmes, Soldiers: Army Lives and Loyalties from Redcoats to Dusty Warriors, London: HarperPress, 2011, .\n Brig E.A. James, British Regiments 1914–18, Samson Books 1978/Uckfield: Naval & Military Press, 2001, .\n Roger Knight, Britain Against Napoleon: The Organization of Victory 1793–1815, London: Allen Lane, 2013/Penguin, 2014, .\n H.G. Parkyn, \'English Militia Regiments 1757–1935: Their Badges and Buttons\', Journal of the Society for Army Historical Research, Vol 15, No 60 (Winter 1936), pp. 216–248.\n Edward M. Spiers, The Army and Society 1815–1914, London: Longmans, 1980, .\n Edward M. Spiers, The Late Victorian Army 1868–1902, Manchester: Manchester University Press, 1992/Sandpiper Books, 1999, .\n Katherine Thomasson & Francis Buist, Battles of the \'45, London: Batsford 1962/Pan 1967.\n J.R. Western, The English Militia in the Eighteenth Century, London: Routledge & Kegan Paul, 1965.\n Maj R.J.T. Williamson & Col J. Lawson Whalley, History of the Old County Regiment of Lancashire Militia, London: Simpkin, Marshall, 1888.\n\nExternal sources\n British History Online\n Electric Scotland\n King\'s Own Royal Regiment Museum, Lancaster\n Lancashire Infantry Museum\n Lancashire Record Office, Handlist 72 Archived from the original\n Museum of the Manchester Regiment\n Richard A. Warren, This Re-illuminated School of Mars: Auxiliary forces and other aspects of Albion under Arms in the Great War against France\n\nLancashire Militia\nLancashire\nMilitary units and formations in Lancashire\nMilitary units and formations in Lancaster, Lancashire\nMilitary units and formations established in 1661\nMilitary units and formations disestablished in 1881',
    'João Pedro Coelho Marinho de Sousa (born 30 March 1989), known as João Sousa (), is a Portuguese professional tennis player. He is currently ranked world No. 137 by the Association of Tennis Professionals (ATP). Continuously ranked in the world\'s top-100 between July 2013 and March 2021, and with four ATP Tour singles titles, Sousa is often regarded as the best Portuguese tennis player of all time. He is nicknamed Conquistador (Portuguese for "Conqueror") for sharing his birthplace of Guimarães with Afonso I, the country\'s first king. Sousa is coached by former player Frederico Marques and practices at the BTT Tennis Academy in Barcelona.\n\nSousa began playing tennis at the age of seven. After winning national youth titles, he decided at the age of fifteen to invest in his career by moving to Barcelona. After an unimpressive junior career, Sousa turned professional in 2008 and won his first singles tournament in 2009. He started playing in the ATP Challenger Tour in 2008, winning his first tournament at this level in 2011. Sousa debuted in the top-level ATP World Tour in 2008, and rose to prominence at the 2013 Malaysian Open, where he became the first Portuguese player to win a World Tour-level singles tournament.\n\nSousa holds several Portuguese men\'s tennis records. In October 2013, he ranked 49th in the world after his victory at the Malaysian Open, becoming the first Portuguese player to break into the singles top 50. In November 2015, Sousa reached a career-high and Portuguese-best ranking of world \xa033, following his second ATP World Tour singles title at the Valencia Open. In May 2016, he improved his personal ranking best, becoming the first Portuguese player to enter the top 30, as a result of reaching his first Masters 1000 quarter-finals in Madrid. In 2014, he was the first Portuguese player to compete exclusively at the ATP World Tour in a single season; the first to be seeded in a Grand Slam tournament (2014 US Open); and the second to reach the quarterfinals in a Grand Slam event (2015 US Open doubles). Sousa is the fourth Portuguese player to reach the singles top 100, and the second to do so in both singles and doubles rankings, after Nuno Marques. He is also the Portuguese player with the largest career prize money, and the most wins at Grand Slam singles tournaments.\n\nEarly and personal life \nJoão Sousa was born on 30 March 1989 in Guimarães, Portugal, to Armando Marinho de Sousa, a judge and amateur tennis player, and Adelaide Coelho Sousa, a bank clerk. Sousa has a younger brother named Luís Carlos. At age seven, Sousa began playing tennis with his father at a local club. In 2001, he won the national under-12 singles title, beating future Davis Cup partner Gastão Elias in the semifinals, and was runner-up in doubles. In 2003, he partnered with Elias to win the national under-14 doubles title. Sousa also played football at local clubs Vitória de Guimarães – of which he is a keen supporter – and Os Sandinenses until the age of 14, when he decided to give up on football and the goal of studying medicine to pursue a professional tennis career. He briefly joined the National Tennis Training Center in Maia until he was forced to leave after its closure.\n\nIn September 2004, aged 15, Sousa moved to Barcelona, Spain, to attend a boarding school and join the Catalan Tennis Federation. A year later, he joined the BTT Tennis Academy, which was recommended to him by former member and countryman Rui Machado. He was first coached by Álvaro Margets, under the supervision of one of his mentors, Francisco Roig. At the academy, he met and shared a flat with his future coach, Frederico Marques. Sousa continues to practice at BTT, even after joining the ATP Tour.\n\nDuring his youth, Sousa\'s idols were Pete Sampras, Juan Carlos Ferrero, and Roger Federer. He is fluent in Portuguese, Spanish, Catalan, as well as English, French and Italian. Since 2008, Sousa has been dating Júlia Villanueva, whom he met during his training in Barcelona.\n\nTennis career\n\nPre-2008: Junior years\nSousa made his debut in a junior tournament in August 2004 at the Grade 4 Taça Diogo Nápoles in Porto, reaching the semifinals. His first junior doubles title came in April 2005 at a Grade 4 tournament in Guadeloupe, where he also reached his first junior singles final. Though he never won a singles title on the junior circuit, Sousa reached three singles finals and won five doubles titles, including a Grade 2 tournament in France. In 2005 Sousa was runner-up at the Portugal under-16 National Championship, losing in the final to Gastão Elias. He had previously won the doubles title at the 2004 edition in the same age category.\n\nSousa peaked at number 61 in the world junior rankings in early 2007, shortly after entering the main draw of the 2006 Orange Bowl. His only participation at a junior Grand Slam was short-lived; he lost in the first qualifying round of the 2007 French Open Boys\' Singles tournament. Sousa\'s last junior tournament was the European Junior Championships in Austria in July 2007.\n\nDespite not having turned professional before 2008, Sousa made his debut at a senior tournament in October 2005 after entering as a wild card in the main draw of a Futures doubles tournament in Barcelona. His first win as a senior came at a Futures doubles tournament, in August 2006 in Oviedo, and his debut singles tournament participation and win both came in May 2007 at a Futures tournament in Lleida, Spain. Sousa would not go beyond quarterfinals at any Futures event until 2008.\n\n2008–2012: Early career\nIn 2008, Sousa began the season by winning his first professional title at the final of a Futures doubles tournament in Murcia. He reached two more doubles finals that year, winning a second title in August in Bakio. The biggest achievement in his 2008 campaign came at the Estoril Open. Entering through qualifying rounds, Sousa made his debut at the main draw of an ATP Tour-level tournament. He had his first ATP win over Austrian Oliver Marach, losing to Frederico Gil in the second round. Sousa also started playing at the ATP Challenger Tour and for the Portugal Davis Cup team in 2008. He played two singles dead rubbers, winning over Cyprus\' Eleftherios Christou in July and losing to Ukraine\'s Illya Marchenko in September.\n\nBesides winning two more Futures doubles titles in three finals in Irun and Espinho, Sousa reached his first four singles finals at the same level in 2009. He won the title in the La Palma final. At the Estoril Open, Sousa was granted a wild card to participate in his first doubles ATP World Tour level tournament, but lost in the first round. During 2009, Sousa was twice called to the Portugal Davis Cup team, winning both singles dead rubbers he took part in – over Philippos Tsangaridis from Cyprus in March and Algeria\'s Sid-Ali Akkal in July. In 2010, Sousa won his first Challenger title at the Tampere\'s doubles tournament in August. In the 2010 season, Sousa did not enter any ATP tournament; he began shifting his schedule increasingly from the Futures circuit to the Challenger tour. He was more successful in the Futures, winning three singles titles in four finals at Valldoreix, Tenerife and Lanzarote, and doubles titles in Lanzarote, Córdoba and two in Tenerife. At the Davis Cup, Sousa played two more dead rubbers, winning for the second time in three seasons over Cyprus\' Christou and losing to Bosnian Damir Džumhur.\n\nSousa reached several milestones in 2011. At the Challenger Tour, he won his first singles title at that level in Fürth in June. At the ATP World Tour, Sousa participated as a wildcard in the singles and doubles events in Estoril, losing in the second round of the former to Canadian Milos Raonic. He also made his first attempt at entering the main draw of a Grand Slam tournament, but fell in the qualifying rounds at the Australian Open, Wimbledon and the US Open. In October, Sousa\'s participation at the Sabadell Futures was his last presence in the main draw of a tournament in that category. He won three more singles and one doubles Futures titles, making his career titles at this level seven singles and nine doubles titles. Once again, Sousa was called for two dead rubbers at Davis Cup, winning over Martin Kližan from Slovakia and losing to Switzerland\'s Marco Chiudinelli. In October 2011, he hired Frederico Marques as a coach when he was ranked world number 220.\n\nAt the 2012 Estoril Open, Sousa reached the quarterfinals of an ATP tour tournament for the first time, losing to Albert Ramos. At the 2012 French Open, he made his debut as a qualifier in the main draw of a Grand Slam tournament. He would lose in the first round to 20th seed Marcel Granollers in four sets. He did not progress past the qualifying rounds at the other three Grand Slam tournaments. He also entered main draw events at the Barcelona Open (lost to Frederico Gil in the 2nd round) and the Croatia Open (lost to Matthias Bachinger in the 1st round). At Challenger tournaments, Sousa won two singles titles out of three finals – Mersin and Tampere – and one doubles title at Fürth.\n\nHis role at the 2012 Davis Cup rose in importance. Sousa played his first doubles rubber against Israel, partnering with Gastão Elias in a loss against Andy Ram and Jonathan Erlich. Ram also beat Sousa in a dead rubber – his last as of 2016. In September, Sousa played three rubbers against Slovakia. He won the first singles match over Lukáš Lacko but lost the doubles with Elias and his second singles match to Martin Kližan, meaning Portugal\'s relegation from Europe/Africa Zone Group I to Group II in 2013. In this same month, Sousa became the top-ranked Portuguese tennis player for the first time, at No.\xa0107. In October, his world ranking rose to No.\xa099, and Sousa became the fourth Portuguese player to enter the ATP top-100 singles ranking after Nuno Marques, Frederico Gil and Rui Machado.\n\n2013: Breakthrough in the ATP\nSousa started the 2013 season with his first participation in ATP tour level hardcourt tournaments at the Chennai Open and the Sydney International. Despite being knocked out of both tournaments in the first round, he returned to the top-100 world rankings. At the Australian Open, Sousa won his first Grand Slam on his second attempt, following a first-round win over wildcard John-Patrick Smith. He lost to world number three Andy Murray in straight sets in the second round. In February, Sousa participated in the Portugal Davis Cup team in their Europe/Africa Zone Group II tie against Benin. He won his singles match against Loic Didavi and the doubles match partnering with Pedro Sousa. Portugal won the tie 5–0 and progressed to the second round. Sousa then played his first clay court tournaments of the season at the Chile Open and ATP Buenos Aires, where he again lost in the first round. At the Mexican Open, he defeated former top 10 Jürgen Melzer in the first round, but lost in the second round to Santiago Giraldo.\n\nDespite failing to qualify for the Indian Wells Masters, Sousa entered for the first time in his career in the main draw of a Masters event at the Miami Masters. He lost in the first round to former world number 1 Lleyton Hewitt in straight sets. Sousa did not play in April after fracturing his left foot during a Davis Cup training session. He was scheduled to return as a wild card at the Portugal Open. His invitation was given to world number 4 David Ferrer instead, which stirred some controversy in Portuguese media. Later in the season, Sousa showed uncertainties about his future Portugal Open participation, which prompted tournament director João Lagos to comment on the contention. Ahead of the 2014 edition, the controversy was no longer an issue.\n\nSousa returned to action at the Madrid Masters qualifying rounds and at his first Challenger tournament of the season in Bordeaux, but he lost early in these attempts. At the 2013 French Open, Sousa won his first round match over Go Soeda in straight sets, and lost in the second round to Spaniard Feliciano López. He returned to the Challenger circuit with a singles title at Fürth and an early loss at Košice. It was also his second title in Fürth, after the triumph in 2011. Sousa missed the 2013 Wimbledon Championships main draw after losing in the third qualifying round to Julian Reister. He would also lose in the qualifying rounds of the doubles competition, while partnering with Teymuraz Gabashvili. In July, he played exclusively in Challenger tournaments, being runner-up in singles and doubles in San Benedetto, re-entering the top 100 rankings, which he has maintained ever since. He won the singles title in his hometown Guimarães. This remains his last participation at the ATP Challenger Tour, having won five singles and two doubles titles at the level. After losing in the qualifying rounds of the Cincinnati Masters, Sousa returned to the ATP World Tour at the Winston-Salem Open in August, losing to Alex Bogomolov, Jr. in the second round. In his first US Open appearance, Sousa reached the third round after defeating 25th seed Grigor Dimitrov and Jarkko Nieminen in back-to-back 5-set matches. He ended his campaign losing to world No.\xa01 Novak Djokovic. This was his best result at Grand Slams yet.\n\nIn September, Sousa joined Portugal\'s Davis Cup team to face Moldova in the semifinals of Europe/Africa Zone Group II. He won his first singles match over Maxim Dubarenco and the doubles match with Gastão Elias. He lost his second singles match to Radu Albot in an epic five-set duel which lasted nearly five hours. Portugal won 3–2 and was promoted to Group I in 2014. Following early-round wins over Paolo Lorenzi and Sergiy Stakhovsky at the St. Petersburg Open, Sousa beat former ATP top 20 player Dmitry Tursunov in the quarterfinals to advance to his first career ATP tour semifinal. He would lose there to Guillermo García-López.\n\nSousa\'s breakthrough title came at the Malaysian Open, in the early rounds of which he defeated Ryan Harrison and Pablo Cuevas. In the quarterfinals, Sousa defeated world No.\xa04 David Ferrer in straight set; Sousa\'s first career win over a top-10 player. Then, he qualified to his first ATP tour level final after getting past Jürgen Melzer in three sets. Sousa beat Frenchman Julien Benneteau in three sets in the final after saving one match point, becoming the first Portuguese player to win an ATP World Tour singles tournament. He also became the highest ranked Portuguese ever, climbing from No.\xa077 to No.\xa051. The previous record holder was Rui Machado, who was world No.\xa059 in 2011. Sousa officially entered the top 50 for the first time on 7 October 2013.\n\nIn October, Sousa had a first-round loss at the Kremlin Cup and a second round appearance at the Valencia Open. After beating Guillermo Garcia-Lopez in the first round, Sousa lost to 2013 Wimbledon semifinalist Jerzy Janowicz. Sousa finished his 2013 season by being eliminated from the Paris Masters in the qualifying round. At world No.\xa049, he became the first Portuguese to finish the season in the top 50. In November, Sousa was nominated for the 2013 Portuguese Sportsman of the Year award, losing to cyclist Rui Costa. At the same ceremony, he was named Tennis Personality of the Year by the Portuguese Tennis Federation.\n\n2014: Consolidating presence in the ATP World Tour\nSousa began the 2014 season with a first-round loss at the 2014 Qatar Open. At the Sydney International\'s doubles competition, he partnered with Lukáš Rosol to defeat the Bryan brothers, the then-world No.\xa01 doubles team, en route to the semifinals. At the 2014 Australian Open, he was beaten by world No.\xa0137 and future Grand Slam champion Dominic Thiem in the first round. Partnering with Colombian Santiago Giraldo, Sousa was eliminated in the first round of the doubles competition by Mahesh Bhupathi and Rajeev Ram. Later in January, Sousa joined the Portugal Davis Cup team to face Slovenia for the Europe/Africa Group I 1st Round. He won his first singles match against Janez Semrajc, but then lost in the doubles match and his second singles match against Blaž Kavčič. Portugal eventually lost 3–2 and fell to a relegation playoff. In February, he started with early round losses at the Open Sud de France and ATP Buenos Aires. Sousa played at the Rio Open and reached the quarterfinals, where he was beaten by world No.\xa01 Rafael Nadal. Sousa ended February with a second-round defeat and exit to Andy Murray at the Mexican Open. During the North American hard court Masters swing in March, Sousa started the Indian Wells Masters with a win over Aleksandr Nedovyesov, followed with a second-round loss to 20th seed Ernests Gulbis. At the 2014 Sony Open Tennis in Miami, Florida, Sousa reached the third round. After beating 26th seed Gilles Simon in the second round, he lost to world No.\xa07 Tomáš Berdych.\n\nSousa began the spring clay court season at the Grand Prix Hassan II in Casablanca, where he was beaten by world No.\xa0273 Roberto Carballés Baena in a second-round match lasting over three hours. This loss started an eight-match losing streak that lasted the remainder of the clay court season\xa0– it included losses at the Monte-Carlo Masters, at the Barcelona Open, at the Portugal Open, at the Madrid Masters, at the Rome Masters, and at the Düsseldorf Open. In the first round of the 2014 French Open, Sousa suffer his eighth consecutive loss against world No.\xa02 Novak Djokovic. During this run of losses, Sousa reached the semifinals of the Portugal Open\'s doubles competition and the third round at the 2014 French Open doubles competition, where he partnered with American Jack Sock and lost to Andrey Golubev and Sam Groth.\n\nSousa made his debut at an ATP grass tournament main draw at the Halle Open. In the first round, he beat German wild card Jan-Lennard Struff and snapped the eight match losing streak. Then, he faced former world No.\xa01 and 6-time Halle champion Roger Federer in the second round. After winning a close first set, Sousa ended up losing in three sets to the Swiss. At the Rosmalen Grass Court Championships, Sousa became the first Portuguese player ever to reach the semifinal of an ATP tour level grass tournament. He beat in succession Paolo Lorenzi, Mate Pavić and Thiemo de Bakker, losing in the semifinals to Benjamin Becker. To cap his grass court season, Sousa played his first ever Wimbledon Championships main draw match at the 2014 edition, with a straight sets loss in the first round to world No.\xa03 Stan Wawrinka. In the doubles competition, he partnered with Argentinian Carlos Berlocq to play a four-hour, five-set first round loss to Martin Kližan and Dominic Thiem.\n\nIn July, Sousa reached his second-career ATP tour level final and his first of 2014 at the Swedish Open, defeating the defending champion Carlos Berlocq in the semifinals. He lost the final to the Uruguayan Pablo Cuevas in straight sets. After losing in early rounds at the German Open and the Croatia Open, Sousa entered the Canada Masters, where he was defeated in the first round by 11th seed Gulbis. At the Cincinnati Masters, Sousa was defeated by Andy Murray in the second round. Sousa was also eliminated in the second round of the Winston-Salem Open. At that tournament\'s doubles competition, Sousa reach his third semifinal of the season, teaming up with Romanian Florin Mergea. At the 2014 US Open, Sousa became the first Portuguese player to be seeded at a Grand Slam tournament, with the 32nd seed at the singles competition. He started with a five-set win over Canadian Frank Dancevic. In the second round, he lost to David Goffin. In the doubles competition, Sousa partnered with Serbian Dušan Lajović and beat the Americans Marcos Giron and Kevin King in the first round. They eventually fell to 4th seed Marcelo Melo and Ivan Dodig in the second round.\n\nIn September, Sousa was selected to join Portugal Davis Cup team against Russia for the Europe/Africa\'s Group I Relegation Playoff. He lost both his singles and doubles matches, confirming the relegation of Portugal to Group II in 2015. Sousa rebounded at the 2014 Moselle Open with his second ATP singles final of the season, after defeating former ATP top-10 Gaël Monfils in the semifinals. He lost the final in straight sets to Goffin. Sousa followed this with a first-round loss to Benjamin Becker at the 2014 Malaysian Open, where Sousa was the defending champion, and dropped out of the Top-50 for the first time in 11 months. However, a quarterfinal appearance at the doubles tournament enabled him to enter the ATP doubles top-100 for the first time. He became the second Portuguese player to reach the top-100 of both ATP rankings, after Nuno Marques. It was the first time since January 1996 that a Portuguese player held a spot on the singles and doubles top-100s simultaneously. At the China Open, Sousa lost in the second round to reigning US Open champion Marin Čilić. He followed it with a debut at the Shanghai Masters, where he lost to Juan Mónaco in the first round. Sousa also lost in the first round at the Stockholm Open, but rebounded at the Valencia Open with his second career win over a top-10 doubles team, the defending champions Alexander Peya and Bruno Soares, in the first round. Alongside Leonardo Mayer, he reached his fourth doubles semifinal that season, the first at ATP 500 level. At the Paris Masters, Sousa suffered another early exit, ending his 2014 ATP tour campaign.\n\nSousa ended 2014 as world No.\xa054, failing to keep his top-50 status from the previous season. He became the first Portuguese player to maintain top-100 status by playing exclusively on the ATP World Tour in a single season. In November, he was nominated for the 2014 Portuguese Sportsman of the Year award, again losing to cyclist Rui Costa.\n\n2015: Second ATP title and quarterfinal at Grand Slam\nSousa began the 2015 season with an early round loss at the Auckland Open. At the 2015 Australian Open, he started his campaign with wins over wild card Jordan Thompson and Martin Kližan. He progressed to a third round match-up with 6th seed Andy Murray, becoming the second Portuguese player to reach that stage. Sousa lost in straight sets to Murray. In the doubles competition, Sousa partnered with Santiago Giraldo to reach the second round, where they lost to 2nd seeds Julien Benneteau and Édouard Roger-Vasselin. In February, Sousa participated at the Open Sud de France. After defeating Philipp Kohlschreiber in the quarterfinals, he lost in the semifinals to Jerzy Janowicz in three sets. After early round losses at the Rotterdam Open and Open 13, Sousa reached the second round of the Dubai Tennis Championships, where he was beaten by Murray. Sousa was then called for the Davis Cup team to face Morocco for the Europe/Africa Zone\'s Group II first round in early March. He won his singles rubber and partnered with Frederico Ferreira Silva to win the doubles rubber and close the tie in Portugal\'s favour. After injuring his knee and suffering breathing difficulties, Sousa was eliminated from both Indian Wells Masters and Miami Masters in the first round. He returned to Barcelona for recovery.\n\nSousa returned in April at the Monte-Carlo Masters, losing in the second round to Milos Raonic. At the Barcelona Open and Estoril Open, he lost in early rounds and then was eliminated from the Madrid Masters in the second round by Stan Wawrinka and from the Rome Masters in the first round by John Isner. At the Geneva Open, Sousa won a first round match over his Brazilian homophone João Souza, which was notable for the umpire needing to refer to each player by their nationality to distinguish between them during the calls. Sousa proceeded to the final, his first of the season, where he lost to Thomaz Bellucci. At the French Open, Sousa beat Canadian Vasek Pospisil in straight sets in the first round, and was defeated by 3rd seed Andy Murray in the second round. In the men\'s doubles of the tournament, Sousa partnered with Bellucci and was knocked out in the first round by 11th seeds Jamie Murray and John Peers. In June, Sousa did not have a strong grass court season; he was defeated in the early rounds at the Rosmalen Grass Court Championships, the Queen\'s Club Championships and the Nottingham Open. At Wimbledon, Sousa was again eliminated in straight sets in the first round by French Open champion and 4th seed Stan Wawrinka. His results did not improve in the men\'s doubles competition, from which he was eliminated in the first round while partnering with Santiago Giraldo.\n\nAt the Davis Cup Group II second round against Finland, Sousa rebounded with wins in his two singles rubbers and in the doubles rubber with Gastão Elias. At the Croatia Open, he beat in succession Andreas Seppi, Fabio Fognini and Roberto Bautista Agut to reach his second final in 2015. Sousa lost the final to Dominic Thiem. After a quarterfinal exit at the Swiss Open, He suffered a first-round loss to Bernard Tomic at the Canada Masters and reached the second round at the Cincinnati Masters, where he lost to Marin Čilić. Following a brief appearance at the Winston-Salem Open, Sousa was defeated at the US Open by Ričardas Berankis in five sets in the first round. In the men\'s doubles competition, Sousa became the second Portuguese player to reach the quarterfinals of a Grand Slam event after Nuno Marques, also in men\'s doubles at the 2000 Australian Open. Sousa and his partner Argentinian Leonardo Mayer were denied a presence in the semifinals by Americans Sam Querrey and Steve Johnson.\n\nSousa returned to the Davis Cup in September to help Portugal defeat Belarus and gain promotion to Europe/Africa Zone\'s Group I in 2016. Despite losing his first singles rubber, he won the doubles rubber with Elias and the deciding singles rubber against Uladzimir Ignatik. At the St. Petersburg Open, Sousa reached his third final of the season. Following wins over Marcel Granollers, Simone Bolelli and Dominic Thiem, Sousa was runner-up to Milos Raonic in three sets. In October, Sousa entered on a 1–4 run with early round losses at the Malaysian Open, the Japan Open, the Shanghai Masters and the Kremlin Cup. At the Valencia Open, Sousa capped the season with his second career ATP title and the first of the season in four final attempts. After beating four higher-ranked players, including Benoît Paire, Sousa defeated 7th seed Roberto Bautista Agut in the final in three sets. He reached a new career-high ranking in the following week at world No.\xa034. Sousa finished the season at career-high world No.\xa033 with 38 singles wins. In November, he received the award for Tennis Personality of the Year for the second time from the Portuguese Tennis Federation and the Confederação do Desporto de Portugal.\n\nDuring 2015, physiotherapist Carlos Costa, known for his work with Tommy Haas, occasionally joined Sousa\'s entourage in selected tournaments; Sousa wanted to have a part-time member in his team responsible for that area. In 2016, Costa is expected to follow Sousa for at least 10 weeks but will remain focused on Haas\' return until Wimbledon.\n\n2016: Top 30 and first Masters 1000 quarterfinals\nAfter training at Rafael Nadal\'s home ground in the pre-season, Sousa began the 2016 season with a first-round loss to Fabio Fognini at the Auckland Open. Due to Richard Gasquet\'s absence by injury, he became the first Portuguese ever to be seeded at the Australian Open, entering the singles main draw as the 32nd seed. Following wins over Mikhail Kukushkin and Santiago Giraldo, Sousa lost in the third round to world No.\xa02 Andy Murray for the second successive year. In the doubles event, Sousa partnered with Leonardo Mayer but the pair were eliminated in the first round.\n\nIn April, Sousa reached his first Masters 1000 quarterfinals at the Mutua Madrid Open 2016, after beating Nicolas Mahut, lucky loser Marcel Granollers and Jack Sock. He lost to Rafael Nadal in three sets. His clay season ended with a second-round exit at the French Open, where he lost to Ernests Gulbis in four sets.\n\nIn June, Sousa entered Wimbledon as 31st seed. After beating Dmitry Tursunov in five sets and Dennis Novikov in four sets, he lost to Jiri Vesely in the third round, making for his best run ever at Wimbledon.\n\nSousa entered the 2016 Rogers Cup where he lost in the 1st round 6–3, 6–3 to semi-finalist Gaël Monfils.\nAt the 2016 Olympic Games in Rio de Janeiro, Sousa won his first match but lost in the next round in three sets to eventual silver medalist Juan Martín del Potro. Three weeks later at the 2016 US Open, he inflicted the heaviest defeat of the Men\'s Singles draw, defeating Víctor Estrella Burgos in the first round conceding only 2 games in 3 sets. He went on to defeat Feliciano Lopez in 4 sets but his run ended losing to a resurgent Grigor Dimitrov.\n\nAfter dropping the points from the 2015 Valencia Open in late October, Sousa finished the season at 43rd in the ATP Rankings, with just over 1,000 points.\n\n2017: Two ATP finals\n\nJoão Sousa trained with Rafael Nadal in the offseason for the second year running. He started the 2017 season at the 2017 Auckland Open once again, where he reached the final after beating Albert Ramos-Vinolas, Brydan Klein, Robin Haase and Marcos Baghdatis. He lost in three sets to Jack Sock, but the result allowed him to re-enter the Top 40 in the ATP Singles Rankings. Sousa\'s January ended with a first-round exit at the Australian Open, having lost in five sets to Jordan Thompson, his worst result at this Grand Slam since 2014.\n\nSousa started the South American swing at the Argentina Open, having lost in the quarter-finals to eventual finalist Kei Nishikori. At the Rio Open, Sousa crashed out in the first round, losing in two sets to Roberto Carballes Baena, in a match that lasted just under an hour. His last clay tournament in South America was the Brasil Open, where he lost in the semi-finals to Albert Ramos-Vinolas in three sets.\n\nIn March, Sousa entered the first two Masters 1000 tournaments of the season. At the BNP Paribas Open, he lost to Mischa Zverev in the second round. At the Miami Open, Sousa entered as 30th seed, receiving a bye for the first round, but lost in the second round to Fabio Fognini.\n\nSousa\'s late May ended with second round at the French Open, having lost to three sets to Serbian number 2\'s Novak Djokovic by 6–1, 6–4, 6–3. But, Sousa already won at first round with Serbia\'s Janko Tipsarevic, having won by four sets by 4–6, 7–6 (7–3), 6–2, 6–2.\n\nAfter the clay court season was over, he continued a streak of consecutive losses, losing matches to Philipp Kohlschreiber, Radu Albot and Dustin Brown at the Gerry Weber Open, Antalya Open and Wimbledon respectively.\n\nSousa\'s streak remained active in Croatia Open Umag, losing in 3 sets to Aljaz Bedene. However, he would eventually turn it around winning by reaching the quarterfinals in Swiss Open Gstaad and reaching the final in Generali Open Kitzbühel.\n\nHe would go on to have more losses in the remainder of the year and not many more wins. One of these includes two crucial defeats in the Davis Cup where Portugal could have qualified for the World Group for the first time in its history, specially considering the absence of the Zverev brothers and Kohlschreiber.\n\n2018–2019: Home title, Grand Slam fourth rounds\nIn 2018, Sousa made the third round of the Indian Wells Masters and the fourth round of the Miami Masters. At Indian Wells, he defeated 4th seed and world number 5 Alexander Zverev in the second round before losing to 32nd seed Milos Raonic in three sets. At Miami, he defeated 7th seed and world number 9 David Goffin in the second round only losing one game in the process before losing to 19th seed Chung Hyeon in straight sets.\n\nSousa became the first Portuguese player to win his home title in Estoril, after beating Daniil Medvedev, countryman Pedro Sousa, Kyle Edmund, Stefanos Tsitsipas and Frances Tiafoe.\nHe reached the fourth round at the US Open, losing to eventual champion Novak Djokovic.\n\nSousa failed to defend his title at the following 2019 Estoril, losing to David Goffin in the second round. \nHe reached the fourth round for a second week at 2019 Wimbledon, losing to Rafael Nadal.\n\n2020–2021: Dip in form and rankings, out of top 100, 200th ATP career win\nThroughout 2020 and 2021, Sousa showed a severe dip in form. Since the beginning of 2020, Sousa posted a win-loss record of 1–20 on the ATP tour and his ranking plummeted from No. 58 at the beginning of 2020 to No. 147 as of July 26, 2021. It was the first time since 2013 that Sousa had fallen outside the top 100 in singles rankings.\n\nAt the 2020 Davis Cup. Sousa defeated Romanian Filip Cristian Jianu to record his 200th career win.\n\n2022: First ATP title since 2018, back to top 100\n\nAt the 2022 Australian Open, Sousa participated in the qualifications to enter the men\'s singles main draw as a qualifier. He fell short of doing so, as he lost to Radu Albot in the final round of qualifying. Sousa would still end up entering the main draw as a lucky loser, facing Jannik Sinner. He lost to Sinner in straight sets.\n\nAfter being in a serious slump for more than 2 years, Sousa finally earned one of his best results in recent years, winning his 4th career singles title in Pune. He defeated Emil Ruusuvuori in the final to win his first tour-level title since 2018. As a result, he moved 51 positions up, returning into the top 100 to No. 86.\n\nPlaying style\n\nSousa\'s game is strongly based on his serve and forehand. He is right-handed and plays with a two-handed backhand. Sousa has said the forehand is his favourite shot and that he prefers playing on clay courts. He is known for expressing his emotions on court at times, often focusing on his coach or the umpire. Andy Murray described Sousa as a tough opponent who never backs down from a fight, while Novak Djokovic called him a "tough" and mentally strong player who "takes the best out of the opponent". Jamie Murray said Sousa has a "good forehand" and "likes playing on clay", despite his better results on hard courts. He has been described as having the potential of becoming a top-20 player.\n\nSousa\'s game pattern has become more offensive-minded and consistent, and his game has evolved in recent years from playing on clay to becoming more proficient on other surfaces. He won his first Challenger title on hard courts in July 2013 in his hometown Guimarães. Later in September, Sousa went on an 8–1 run to cap his semifinal run at the 2013 St. Petersburg Open and win the title at the 2013 Proton Malaysian Open, both ATP tour hard-court indoor tournaments. He continued his form on faster courts in 2014, with deep runs on grass courts at the 2014 Gerry Weber Open and Topshelf Open, and a final appearance in a hard court indoor tournament at the 2014 Moselle Open. Despite a results slump on clay earlier in the season, he still achieved his first ATP tour-level final on clay at the 2014 Swedish Open, and, eventually triumphing in home turf at the 2018 Estoril Open.\n\nEquipment and endorsements\nAs of October 2013, Sousa has been represented by Polaris Sports, a subsidiary of Jorge Mendes\'s Gestifute, which manages the career of other major Portuguese sportspeople, including Cristiano Ronaldo. Sousa uses a Wilson racquet, and is endorsed by Lotto Sport Italia since January 2014, in a two-year partnership which covers the supply of footwear, clothing and accessories. In May 2015, Sousa started a partnership with sports supplements company Gold Nutrition. Sousa\'s endorsement of sporting attires was switched to Joma in 2020.\n\nPortuguese clothing brand Mike Davis announced an agreement with Sousa to associate him with the brand\'s casual sportswear during 2014. Portuguese private bank BES was another endorser of Sousa\'s career before its bailout in August 2014. In February 2015, private bank Millenium BCP announced a sponsorship agreement with Sousa.\n\nEarlier in his career, Sousa said he struggled to find local endorsements and also lamented the financial struggles of the Portuguese Tennis Federation, which prevented support for his growing participation in the ATP Tour. He criticized local government for lack of support of sports other than football. During his junior and early professional career, Sousa\'s expenses were supported mainly by his parents and through bank loans.\n\nCareer statistics\n\nGrand Slam tournament performance timelines\n\nSingles\nCurrent through the 2022 Australian Open.\n\nDoubles\n\nATP Masters 1000 finals\n\nDoubles: 1 (1 runner-up)\n\nAwards\n2013 – CDP Portuguese Tennis Personality of the Year\n2014 – CNID Portuguese Athlete of the Year\n2015 – CDP Portuguese Tennis Personality of the Year\n\nNotes\n\nReferences\n\nExternal links\n\n Official website\n\nProfiles\n \n \n \n \n\n1989 births\nLiving people\nPortuguese expatriate sportspeople in Spain\nSportspeople from Guimarães\nPortuguese male tennis players\nTennis players at the 2016 Summer Olympics\nTennis players at the 2020 Summer Olympics\nOlympic tennis players of Portugal',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]

Evaluation

Metrics

Triplet

Metric Value
cosine_accuracy 0.5771
dot_accuracy 0.4229
manhattan_accuracy 0.7171
euclidean_accuracy 0.5771
max_accuracy 0.7171

Training Details

Training Hyperparameters

Non-Default Hyperparameters

  • eval_strategy: epoch
  • per_device_train_batch_size: 4
  • per_device_eval_batch_size: 4
  • gradient_accumulation_steps: 4
  • num_train_epochs: 5
  • warmup_ratio: 0.1
  • fp16: True
  • load_best_model_at_end: True
  • batch_sampler: no_duplicates

All Hyperparameters

Click to expand
  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: epoch
  • prediction_loss_only: True
  • per_device_train_batch_size: 4
  • per_device_eval_batch_size: 4
  • per_gpu_train_batch_size: None
  • per_gpu_eval_batch_size: None
  • gradient_accumulation_steps: 4
  • 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: 5
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: {}
  • warmup_ratio: 0.1
  • warmup_steps: 0
  • log_level: passive
  • log_level_replica: warning
  • log_on_each_node: True
  • logging_nan_inf_filter: True
  • 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: False
  • fp16: True
  • 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: True
  • ignore_data_skip: False
  • fsdp: []
  • fsdp_min_num_params: 0
  • fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
  • fsdp_transformer_layer_cls_to_wrap: None
  • accelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': 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: False
  • hub_always_push: False
  • gradient_checkpointing: False
  • gradient_checkpointing_kwargs: None
  • include_inputs_for_metrics: False
  • 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
  • dispatch_batches: None
  • split_batches: 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
  • eval_use_gather_object: False
  • batch_sampler: no_duplicates
  • multi_dataset_batch_sampler: proportional

Training Logs

Epoch Step Training Loss loss dev_evaluator_max_accuracy
1.12 35 - 4.5711 0.8029
2.12 70 - 5.1724 0.5714
2.96 100 2.6042 - -
3.12 105 - 4.9164 0.5714
4.12 140 - 4.8271 0.6743
4.48 155 - 4.6298 0.7171
  • The bold row denotes the saved checkpoint.

Framework Versions

  • Python: 3.10.14
  • Sentence Transformers: 3.1.1
  • Transformers: 4.44.2
  • PyTorch: 2.4.0
  • Accelerate: 0.34.2
  • Datasets: 3.0.0
  • Tokenizers: 0.19.1

Citation

BibTeX

Sentence Transformers

@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",
}

TripletLoss

@misc{hermans2017defense,
    title={In Defense of the Triplet Loss for Person Re-Identification},
    author={Alexander Hermans and Lucas Beyer and Bastian Leibe},
    year={2017},
    eprint={1703.07737},
    archivePrefix={arXiv},
    primaryClass={cs.CV}
}
Downloads last month
2
Safetensors
Model size
109M params
Tensor type
F32
·
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 DIS-Project/Sentence-Transformer_1

Finetuned
(35)
this model

Evaluation results